Click or drag to resize
SbRotationSlerp Method (SbRotation, SbRotation, Single)
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: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
Syntax
public static SbRotation Slerp(
	ref SbRotation rot0,
	ref SbRotation rot1,
	float t
)

Parameters

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

Return Value

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