TransformExtensionMethods
Methods
Test whether this transform genuinely converts one point into another.
Parameters:
| transform (Transform) | Transform to test. |
| a (Point3d) | First point. |
| b (Point3d) | Suggested location of a once the transformation is applied. |
| tolerance (double) | Acceptable coincidence tolerance between transformed points. |
Returns: True if all the 'a' points transform onto all the 'b' points within tolerance.
Test whether a specific transform is actually a quaternion in disguise.
Parameters:
| transform (Transform) |
Gets whether this transformation matrix represents a rotation about a custom axis.
Gets whether this transformation matrix represents only a translation.
Convert a Transform into a Quaternion. This is only possible if the transform has been created by the ToTransform(Quaternion) method.
Parameters:
| transform (Transform) | Transform to convert. |
Returns: Quaternion.
Convert a Quaternion into a Transform which contains the quaternion coefficients. Note that the resulting transform is not valid as such, it merely functions as a way to store quaternion data without the need of the quaternion type.
Parameters:
| quaternion (Quaternion) |