| Path2FGetTangent 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 override Vector2F GetTangent(
float parameter
)
Public Overrides Function GetTangent (
parameter As Single
) As Vector2F
public:
virtual Vector2F GetTangent(
float parameter
) override
abstract GetTangent :
parameter : float32 -> Vector2F
override GetTangent :
parameter : float32 -> Vector2F
Parameters
- parameter
- Type: SystemSingle
The curve parameter.
Return Value
Type:
Vector2FThe 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