SbLineSetPosDir Method (SbVec3f, SbVec3f) |
Sets line using a position and a direction vector.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 10.3.0.0.Release.e0557e69f65c2f4b712d9d57d8855c64671533f0
Syntaxpublic void SetPosDir(
SbVec3f position,
SbVec3f direction
)
Public Sub SetPosDir (
position As SbVec3f,
direction As SbVec3f
)
public:
void SetPosDir(
SbVec3f position,
SbVec3f direction
)
member SetPosDir :
position : SbVec3f *
direction : SbVec3f -> unit
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