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)
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.
Version Information

Rhino for Windows

Supported in: 6.18
See Also