Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update nucleus/transform.py
Co-authored-by: Sasha Harrison <[email protected]>
  • Loading branch information
patrick-scale and sasha-scale authored Apr 8, 2022
commit 4cca2e6e68c22cfd97067cb39b4d88990f53a6f7
2 changes: 1 addition & 1 deletion nucleus/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Transform:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like the user can supply a lot of different values in the constructor. Do all class methods apply to all possible types of values? if not, you may want to separate into different class types (maybe use inheritance?)

"""Transform object represent a rigid transformation matrix (rotation and translation).

Transform is a 4x4 matrix, although it could be instance using (16,1), (3,4), (3,3) or (3,1) matrixes.
Transform is a 4x4 matrix, although it could be instance using (16,1), (3,4), (3,3) or (3,1) matrices.
**Note**: not all the methods from Transform will work using scaled/small matrixes

.. highlight:: python
Expand Down