SbRotation Constructor (SbVec3f, SbVec3f) |
Constructors for rotation. The rotateFrom/To constructor defines rotation
that rotates from one vector into another. The rotateFrom
and rotateTo vectors are normalized by the constructor
before calculating the rotation.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntaxpublic SbRotation(
SbVec3f rotateFrom,
SbVec3f rotateTo
)
Public Sub New (
rotateFrom As SbVec3f,
rotateTo As SbVec3f
)
public:
SbRotation(
SbVec3f rotateFrom,
SbVec3f rotateTo
)
new :
rotateFrom : SbVec3f *
rotateTo : SbVec3f -> SbRotation
Parameters
- rotateFrom
- Type: OIV.InventorSbVec3f
Start vector. - rotateTo
- Type: OIV.InventorSbVec3f
End vector.
See Also