Click or drag to resize
SbMatrixd.GetTransform Method (SbVec3d, SbRotationd, SbVec3d, SbRotationd, SbVec3d)
Decomposes the matrix into a translation, rotation, scale, and scale orientation. Any projection information is discarded. The decomposition depends upon choice of center point for rotation and scaling, which is optional as the last parameter. Note that if the center is 0, this method is the same as Factor(SbMatrixd, SbVec3d, SbMatrixd, SbVec3d, SbMatrixd) where t is translation, u is rotation, s is scaleFactor and r is scaleOrientation.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax
public void GetTransform(
	out SbVec3d translation,
	out SbRotationd rotation,
	out SbVec3d scaleFactor,
	out SbRotationd scaleOrientation,
	out SbVec3d center
)

Parameters

translation
Type: OIV.Inventor.SbVec3d
Translation output parameter.
rotation
Type: OIV.Inventor.SbRotationd
Rotation output parameter.
scaleFactor
Type: OIV.Inventor.SbVec3d
Scale factor output parameter.
scaleOrientation
Type: OIV.Inventor.SbRotationd
Scale orientation output parameter.
center
Type: OIV.Inventor.SbVec3d
Center output parameter.
See Also