Click or drag to resize
DigitalRuneCurveKeyTParam, TPointTangentIn Property
Gets or sets the incoming tangent or the control point before this curve key.

Namespace: DigitalRune.Mathematics.Interpolation
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public TPoint TangentIn { get; set; }

Property Value

Type: TPoint
The incoming tangent or the control point before this curve key.
Remarks

This property is used to compute previous curve segment (the spline that ends at this curve key).

The meaning of this property depends on the type of interpolation that is for the previous curve segment:

SplineInterpolationMeaning
Hermite Hermite splines require tangent information. Therefore, this property defines the incoming tangent of the spline that ends at this curve key.
Bezier Bézier splines require additional control points. Therefore, this property defines the control point before this curve key.
Other All other types of interpolation do not need any additional information. The property TangentIn is unused.

See Also