SbMatrixMultDirMatrix Method (SbVec3f, SbVec3f) |
Pre-multiplies matrix by given row vector, giving vector result.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 9.9.13.0.Release.1490cabe7ee249bd6cc986579d4e6231040bc6f5
Syntaxpublic void MultDirMatrix(
SbVec3f src,
out SbVec3f dst
)
Public Sub MultDirMatrix (
src As SbVec3f,
<OutAttribute> ByRef dst As SbVec3f
)
public:
void MultDirMatrix(
SbVec3f src,
[OutAttribute] SbVec3f% dst
)
member MultDirMatrix :
src : SbVec3f *
dst : SbVec3f byref -> unit
Parameters
- src
- Type: OIV.InventorSbVec3f
Source vector. - dst
- Type: OIV.InventorSbVec3f
Output parameter for result.
Remarkssrc 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(SbVec3f, SbVec3f) for the points and
call MultDirMatrix(SbVec3f, SbVec3f) on the inverse
transpose of the matrix for the normals.
It is safe to let src and dst be the same object.
See Also