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: 2023.2.3.Release.c1a14b01e6296bf517288683d75c01bbe269b3dc
Syntaxpublic void SetValue(
ref SbVec3f rotateFrom,
ref SbVec3f rotateTo
)
Public Sub SetValue (
ByRef rotateFrom As SbVec3f,
ByRef rotateTo As SbVec3f
)
public:
void SetValue(
SbVec3f% rotateFrom,
SbVec3f% rotateTo
)
member SetValue :
rotateFrom : SbVec3f byref *
rotateTo : SbVec3f byref -> unit
Parameters
- rotateFrom
- Type: OIV.InventorSbVec3f
Start vector. - rotateTo
- Type: OIV.InventorSbVec3f
End vector.
See Also