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: 10.3.0.0.Release.e0557e69f65c2f4b712d9d57d8855c64671533f0
Syntaxpublic static SbRotationd Slerp(
ref SbRotationd rot0,
ref SbRotationd rot1,
double t
)
Public Shared Function Slerp (
ByRef rot0 As SbRotationd,
ByRef rot1 As SbRotationd,
t As Double
) As SbRotationd
public:
static SbRotationd Slerp(
SbRotationd% rot0,
SbRotationd% rot1,
double t
)
static member Slerp :
rot0 : SbRotationd byref *
rot1 : SbRotationd byref *
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.
Exceptions
See Also