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(
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 -> SbRotation
Parameters
- rotateFrom
- Type: OIV.InventorSbVec3f
Start vector. - rotateTo
- Type: OIV.InventorSbVec3f
End vector.
See Also