| 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.2.Release.8aafb2feb11098c1e662b6a8d337b44fd757e6f1
Syntaxpublic SbRotation(
ref SbVec3f rotateFrom,
ref SbVec3f rotateTo
)
Public Sub New (
ByRef rotateFrom As SbVec3f,
ByRef rotateTo As SbVec3f
)
public:
SbRotation(
SbVec3f% rotateFrom,
SbVec3f% rotateTo
)
new :
rotateFrom : SbVec3f byref *
rotateTo : SbVec3f byref -> SbRotationParameters
- rotateFrom
- Type: OIV.InventorSbVec3f
Start vector. - rotateTo
- Type: OIV.InventorSbVec3f
End vector.
See Also