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: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntaxpublic 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