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.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
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