PathKey2F Class |
Namespace: DigitalRune.Mathematics.Interpolation
The PathKey2F type exposes the following members.
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.
(Overrides CurveKeyTParam, TPointGetParameter.) | |
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.
(Overrides CurveKeyTParam, TPointSetParameter(TParam).) | |
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.
(Inherited from CurveKeyTParam, TPoint.) | |
Parameter |
Gets or sets a value that defines where this curve key is positioned on the curve.
(Inherited from CurveKeyTParam, TPoint.) | |
Point |
Gets or sets the curve point for this curve key.
(Inherited from CurveKeyTParam, TPoint.) | |
TangentIn |
Gets or sets the incoming tangent or the control point before this curve key.
(Inherited from CurveKeyTParam, TPoint.) | |
TangentOut |
Gets or sets the outgoing tangent or the control point after this curve key.
(Inherited from CurveKeyTParam, TPoint.) |
A Path2F is a "piecewise curve". That means, the path is defined by key points (PathKey2F) that are interpolated using spline interpolation. See PiecewiseCurveFTPoint, TCurveKey for more information on piecewise curves.
Path Keys: The path keys (PathKey2F) define the control points of the path. Each path key defines a point on the curve Point. These points are interpolated using spline interpolation. Each path key defines the type of spline interpolation that is used from this path key to the next (see Interpolation). The path keys also contain additional information that might me required for interpolation such as: TangentIn, TangentOut.