CurveKeyTParam, TPoint Class |
Namespace: DigitalRune.Mathematics.Interpolation
The CurveKeyTParam, TPoint type exposes the following members.
Name | Description | |
---|---|---|
CurveKeyTParam, TPoint | Initializes a new instance of the CurveKeyTParam, TPoint class |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetParameter |
Gets the parameter.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetParameter |
Sets the parameter.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Interpolation |
Gets or sets the type of interpolation (the spline type) used for the current curve segment
between this key and the next key.
| |
Parameter |
Gets or sets a value that defines where this curve key is positioned on the curve.
| |
Point |
Gets or sets the curve point for this curve key.
| |
TangentIn |
Gets or sets the incoming tangent or the control point before this curve key.
| |
TangentOut |
Gets or sets the outgoing tangent or the control point after this curve key.
|
A "piecewise curve", also known as "spline", is a curve with arbitrary length that is defined by concatenating multiple curve segments.
The PiecewiseCurveTParam, TPoint, TCurveKey is a collection of curve keys (CurveKeyTParam, TPoint). Each curve key is a control point that defines a point on the curve. The points between curve keys are created by spline interpolation of the curve keys.
The curve keys are also called "key frames" if the path represents an animation curve, or "waypoints" if the path represents a 2-dimensional or 3-dimensional path.
Curve keys in a PiecewiseCurveTParam, TPoint, TCurveKey must not be .
The methods in this interface assume that the curve keys are sorted ascending by the curve parameter (see Parameter). If this is not the case, you can call Sort to sort keys.