Click or drag to resize
SbMatrixMultDirMatrix Method (SbVec3f, SbVec3f)
Pre-multiplies matrix by given row vector, giving vector result.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntax
public void MultDirMatrix(
	ref SbVec3f src,
	out SbVec3f dst
)

Parameters

src
Type: OIV.InventorSbVec3f
Source vector.
dst
Type: OIV.InventorSbVec3f
Output parameter for 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(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