Click or drag to resize
SbRotationdSlerp Method (SbRotationd, SbRotationd, Double)
Spherical linear interpolation: as t goes from 0 to 1, returned value goes from rot0 to rot1.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntax
public static SbRotationd Slerp(
	ref SbRotationd rot0,
	ref SbRotationd rot1,
	double t
)

Parameters

rot0
Type: OIV.InventorSbRotationd
Start rotation.
rot1
Type: OIV.InventorSbRotationd
End rotation.
t
Type: SystemDouble
Interpolation factor between [0,1].

Return Value

Type: SbRotationd
Interpolated rotation.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf t t%lt;0 or t%gt;1.
See Also