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.InventorAssembly: 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
)
Public Sub GetTransform (
<OutAttribute> ByRef translation As SbVec3d,
<OutAttribute> ByRef rotation As SbRotationd,
<OutAttribute> ByRef scaleFactor As SbVec3d,
<OutAttribute> ByRef scaleOrientation As SbRotationd,
<OutAttribute> ByRef center As SbVec3d
)
public:
void GetTransform(
[OutAttribute] SbVec3d% translation,
[OutAttribute] SbRotationd% rotation,
[OutAttribute] SbVec3d% scaleFactor,
[OutAttribute] SbRotationd% scaleOrientation,
[OutAttribute] SbVec3d% center
)
member GetTransform :
translation : SbVec3d byref *
rotation : SbRotationd byref *
scaleFactor : SbVec3d byref *
scaleOrientation : SbRotationd byref *
center : SbVec3d byref -> unit
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