- class adam_sim.entities.system.System(position: Point, x_axis: Vector, y_axis: Vector, z_axis: Vector)
a named tuple that contains the information of position and orientation of an oriented point in 3D space
- Attributes:
- position: ~.entities.point.Point
the position of the oriented point
- x_axis: ~.entities.vector.Vector
the x axis of the system
- y_axis: ~.entities.vector.Vector
the y axis of the system
- z_axis: ~.entities.vector.Vector
the z axis of the system
Methods
to_htm(self) -> np.ndarray:
transforms the system to the Homogeneous Transformation Matrix representation
from_htm(cls, htm) -> System:
creates an instance of the class from a Homogeneous Transformation Matrix
- classmethod from_htm(htm: ndarray)
creates an instance of the class from a Homogeneous Transformation Matrix
- Returns:
- out~.entities.system.System
the system
- to_htm() ndarray
transforms an oriented point instance to the homogeneous transformation matrix representation
- Returns:
- outnp.ndarray
the homogeneous transformation matrix as a np array