SbLinedSetPosDir Method (SbVec3d, SbVec3d) |
Sets line using a position and a direction vector.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void SetPosDir(
SbVec3d position,
SbVec3d direction
)
Public Sub SetPosDir (
position As SbVec3d,
direction As SbVec3d
)
public:
void SetPosDir(
SbVec3d position,
SbVec3d direction
)
member SetPosDir :
position : SbVec3d *
direction : SbVec3d -> unit
Parameters
- position
- Type: OIV.InventorSbVec3d
- direction
- Type: OIV.InventorSbVec3d
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