What are the issues this pull addresses (issue numbers / links)?
808
Did you add tests to cover your changes (yes/no)?
Yes. Modified qiskit_metal/tests/test_draw.py to include tests for new code.
Did you update the documentation accordingly (yes/no)?
Yes
Did you read the CONTRIBUTING document (yes/no)?
Yes
Summary
Added a 3D vector class Vec3D for extending functionality to be used by future renderers (like Gmsh).
Details and comments
Gmsh renderer uses 3D vectors natively to avoid the conversion and confusion between 2D and 3D vectors. this class adds the feature to use 3D vectors and extends the functionality.
What are the issues this pull addresses (issue numbers / links)?
808
Did you add tests to cover your changes (yes/no)?
Yes. Modified
qiskit_metal/tests/test_draw.py
to include tests for new code.Did you update the documentation accordingly (yes/no)?
Yes
Did you read the CONTRIBUTING document (yes/no)?
Yes
Summary
Added a 3D vector class
Vec3D
for extending functionality to be used by future renderers (like Gmsh).Details and comments
Gmsh renderer uses 3D vectors natively to avoid the conversion and confusion between 2D and 3D vectors. this class adds the feature to use 3D vectors and extends the functionality.