SbMatrixdMultDirMatrix Method (SbVec3d, SbVec3d) |
Pre-multiplies matrix by given row vector, giving vector result.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void MultDirMatrix(
SbVec3d src,
out SbVec3d dst
)
Public Sub MultDirMatrix (
src As SbVec3d,
<OutAttribute> ByRef dst As SbVec3d
)
public:
void MultDirMatrix(
SbVec3d src,
[OutAttribute] SbVec3d% dst
)
member MultDirMatrix :
src : SbVec3d *
dst : SbVec3d byref -> unit
Parameters
- src
- Type: OIV.InventorSbVec3d
Source vector. - dst
- Type: OIV.InventorSbVec3d
Output parameter to store the result.
Remarks src is assumed to be a direction vector,
so translation part of matrix is ignored.
Note that if you wish to transform surface points and normals by a matrix,
call
MultVecMatrix(SbVec3d, SbVec3d) for the points and
call
MultDirMatrix(SbVec3d, SbVec3d) on the inverse
transpose of the matrix for the normals.
See Also