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: 9.9.36.0.Release.d5e5954f18f5fba1171104a1eb3d2f8b0fc0d084
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