Description:

Decomposes a rigid transformation. The transformation must be affine.

Syntax:
public TransformRigidType DecomposeRigid(
out Vector3d translation,
out Transform rotation,
double tolerance
)
Parameters:
  • translation
  • Type: Vector3d
  • Translation vector.
  • rotation
  • Type: Transform
  • Proper rotation transformation, where R*Transpose(R)=I and det(R)=1.
  • tolerance
  • Type: double
  • The evaluation tolerance.
Returns:
The rigid type.
Remarks:
If X.DecomposeRigid(T, R) is 1, then X ~ Translation(T)*R. If X.DecomposeRigid(T, R) is -1, then X ~ Transform(-1) * Translation(T)*R. DecomposeRigid will find the closest rotation to the linear part of this transformation.
Available since:
6.12

DecomposeRigid method

Class:  Rhino.Geometry.Transform

Nothing found