SbRotationdSlerp Method (SbRotationd, SbRotationd, Double) |
Spherical linear interpolation: as t goes from 0 to 1,
returned value goes from rot0 to rot1.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 9.9.36.0.Release.d5e5954f18f5fba1171104a1eb3d2f8b0fc0d084
Syntaxpublic static SbRotationd Slerp(
SbRotationd rot0,
SbRotationd rot1,
double t
)
Public Shared Function Slerp (
rot0 As SbRotationd,
rot1 As SbRotationd,
t As Double
) As SbRotationd
public:
static SbRotationd Slerp(
SbRotationd rot0,
SbRotationd rot1,
double t
)
static member Slerp :
rot0 : SbRotationd *
rot1 : SbRotationd *
t : float -> SbRotationd
Parameters
- rot0
- Type: OIV.InventorSbRotationd
Start rotation. - rot1
- Type: OIV.InventorSbRotationd
End rotation. - t
- Type: SystemDouble
Interpolation factor between [0,1].
Return Value
Type:
SbRotationdInterpolated rotation.
ExceptionsException | Condition |
---|
ArgumentOutOfRangeException | If t t%lt;0 or t%gt;1. |
See Also