Factors a matrix m into 5 pieces: m = rsr^ ut, where r^ means transpose of r, and r and
u are rotations, s is a scale, and t is a translation.
Any projection
information is returned in proj.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public bool Factor(
out SbMatrixd r,
out SbVec3d s,
out SbMatrixd u,
out SbVec3d t,
out SbMatrixd proj
)
Public Function Factor (
<OutAttribute> ByRef r As SbMatrixd,
<OutAttribute> ByRef s As SbVec3d,
<OutAttribute> ByRef u As SbMatrixd,
<OutAttribute> ByRef t As SbVec3d,
<OutAttribute> ByRef proj As SbMatrixd
) As Boolean
public:
bool Factor(
[OutAttribute] SbMatrixd% r,
[OutAttribute] SbVec3d% s,
[OutAttribute] SbMatrixd% u,
[OutAttribute] SbVec3d% t,
[OutAttribute] SbMatrixd% proj
)
member Factor :
r : SbMatrixd byref *
s : SbVec3d byref *
u : SbMatrixd byref *
t : SbVec3d byref *
proj : SbMatrixd byref -> bool
Parameters
- r
- Type: OIV.InventorSbMatrixd
Rotation matrix output parameter. - s
- Type: OIV.InventorSbVec3d
Scale output parameter. - u
- Type: OIV.InventorSbMatrixd
Rotation matrix output parameter. - t
- Type: OIV.InventorSbVec3d
Translation output parameter. - proj
- Type: OIV.InventorSbMatrixd
Projection matrix output parameter.
Return Value
Type:
Booleanfalse if matrix is singular,
true otherwise.
See Also