Click or drag to resize
SbLineSetPosDir Method (SbVec3f, SbVec3f)
Sets line using a position and a direction vector.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
Syntax
public void SetPosDir(
	ref SbVec3f position,
	ref SbVec3f direction
)

Parameters

position
Type: OIV.InventorSbVec3f
direction
Type: OIV.InventorSbVec3f
Remarks
The direction vector will be normalized automatically. This method is preferred over setValue when the point has very large magnitude, for example 1e6, because adding a normalized direction vector to such a point may not be significant.
See Also