SbRotationSetValue Method (SbVec3f, SbVec3f) |
Sets rotation to rotate one direction vector to another. The rotateFrom
and rotateTo arguments are normalized before the rotation is calculated.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void SetValue(
SbVec3f rotateFrom,
SbVec3f rotateTo
)
Public Sub SetValue (
rotateFrom As SbVec3f,
rotateTo As SbVec3f
)
public:
void SetValue(
SbVec3f rotateFrom,
SbVec3f rotateTo
)
member SetValue :
rotateFrom : SbVec3f *
rotateTo : SbVec3f -> unit
Parameters
- rotateFrom
- Type: OIV.InventorSbVec3f
Start vector. - rotateTo
- Type: OIV.InventorSbVec3f
End vector.
See Also