mecheye.shared.FrameTransformation¶
- class mecheye.shared.FrameTransformation(*args)¶
Rigid transformation with a 3-by-3 rotation and three-element translation. Translation uses the same unit as the transformed coordinates; rotation helpers accept degrees.
Field access is serialized; nested values retain native ownership.
- Axis_X = 0¶
- Axis_Y = 1¶
- Axis_Z = 2¶
- is_valid()¶
Return whether the transform differs from identity according to the SDK.
This checks for a custom reference frame, not rotation orthonormality.
- rotate(theta, rotationAxis)¶
Compose a rotation by theta degrees around FrameTransformation.Axis_X/Y/Z.
- property rotation¶
Mutable 3-by-3 rotation matrix accessed with row and column indices.
- translate(x, y, z)¶
Set translation to x, y, z in the same unit as the point coordinates.
- property translation¶
Mutable three-element translation vector.