Click or drag to resize
DigitalRuneICurveTParam, TPoint Interface
Represents a curve.

Namespace: DigitalRune.Mathematics.Interpolation
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public interface ICurve<TParam, TPoint>

Type Parameters

TParam
The type of the curve parameter (usually Single or Double).
TPoint
The type of the curve points (such as Vector2F, Vector3F, etc.).

The ICurveTParam, TPoint type exposes the following members.

Methods
  NameDescription
Public methodFlatten
Computes the points of a sequence of line segments which approximate the curve.
Public methodGetLength
Computes the approximated length of the curve for the parameter interval [start, end].
Public methodGetPoint
Computes a point on the curve.
Public methodGetTangent
Computes the tangent for a point on the curve.
Top
Remarks

Curves can be used to describe animation curves, 2D paths, 3D paths, and more.

Mathematically, a curve is a function of the form point = C(parameter). The curve parameter is a scalar. The result of C(parameter) is a point on the curve.

See Also