| CatmullRomSegment1FGetTangent Method |
Computes the tangent for a point on the curve.
Namespace: DigitalRune.Mathematics.InterpolationAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public float GetTangent(
float parameter
)
Public Function GetTangent (
parameter As Single
) As Single
public:
virtual float GetTangent(
float parameter
) sealed
abstract GetTangent :
parameter : float32 -> float32
override GetTangent :
parameter : float32 -> float32
Parameters
- parameter
- Type: SystemSingle
The curve parameter.
Return Value
Type:
SingleThe curve tangent.
Implements
ICurveTParam, TPointGetTangent(TParam)Remarks
This method computes the curve tangent (also known as slope or velocity) at
the curve position determined by parameter.
See Also