Click or drag to resize

TransformDecomposeAffine Method (Vector3d, Transform, Transform, Vector3d)

An affine transformation can be decomposed into a Symmetric, Rotation and Translation. Then the Symmetric component may be further decomposed as non-uniform scale in an orthonormal coordinate system.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.12
Syntax
public bool DecomposeAffine(
	out Vector3d translation,
	out Transform rotation,
	out Transform orthogonal,
	out Vector3d diagonal
)

Parameters

translation
Type: Rhino.GeometryVector3d
Translation vector.
rotation
Type: Rhino.GeometryTransform
Proper rotation transformation.
orthogonal
Type: Rhino.GeometryTransform
Orthogonal basis.
diagonal
Type: Rhino.GeometryVector3d
Diagonal elements of a Diagonal transformation.

Return Value

Type: Boolean
True if successful decomposition.
See Also