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 SbMatrix r,
out SbVec3f s,
out SbMatrix u,
out SbVec3f t,
out SbMatrix proj
)
Public Function Factor (
<OutAttribute> ByRef r As SbMatrix,
<OutAttribute> ByRef s As SbVec3f,
<OutAttribute> ByRef u As SbMatrix,
<OutAttribute> ByRef t As SbVec3f,
<OutAttribute> ByRef proj As SbMatrix
) As Boolean
public:
bool Factor(
[OutAttribute] SbMatrix% r,
[OutAttribute] SbVec3f% s,
[OutAttribute] SbMatrix% u,
[OutAttribute] SbVec3f% t,
[OutAttribute] SbMatrix% proj
)
member Factor :
r : SbMatrix byref *
s : SbVec3f byref *
u : SbMatrix byref *
t : SbVec3f byref *
proj : SbMatrix byref -> bool
Parameters
- r
- Type: OIV.InventorSbMatrix
Rotation matrix output parameter. - s
- Type: OIV.InventorSbVec3f
Scale output parameter. - u
- Type: OIV.InventorSbMatrix
Rotation matrix output parameter. - t
- Type: OIV.InventorSbVec3f
Translation output parameter. - proj
- Type: OIV.InventorSbMatrix
Projection matrix output parameter.
Return Value
Type:
Booleanfalse if matrix is singular,
true otherwise.
See Also