SbMatrixGetTransform Method (SbVec3f, SbRotation, SbVec3f, SbRotation, SbVec3f) |
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(SbMatrix, SbVec3f, SbMatrix, SbVec3f, SbMatrix) 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 SbVec3f translation,
out SbRotation rotation,
out SbVec3f scaleFactor,
out SbRotation scaleOrientation,
out SbVec3f center
)
Public Sub GetTransform (
<OutAttribute> ByRef translation As SbVec3f,
<OutAttribute> ByRef rotation As SbRotation,
<OutAttribute> ByRef scaleFactor As SbVec3f,
<OutAttribute> ByRef scaleOrientation As SbRotation,
<OutAttribute> ByRef center As SbVec3f
)
public:
void GetTransform(
[OutAttribute] SbVec3f% translation,
[OutAttribute] SbRotation% rotation,
[OutAttribute] SbVec3f% scaleFactor,
[OutAttribute] SbRotation% scaleOrientation,
[OutAttribute] SbVec3f% center
)
member GetTransform :
translation : SbVec3f byref *
rotation : SbRotation byref *
scaleFactor : SbVec3f byref *
scaleOrientation : SbRotation byref *
center : SbVec3f byref -> unit
Parameters
- translation
- Type: OIV.InventorSbVec3f
Translation output parameter. - rotation
- Type: OIV.InventorSbRotation
Rotation output parameter. - scaleFactor
- Type: OIV.InventorSbVec3f
Scale factor output parameter. - scaleOrientation
- Type: OIV.InventorSbRotation
Scale orientation output parameter. - center
- Type: OIV.InventorSbVec3f
Center output parameter.
See Also