Curve Members
The Curve type exposes the following members.
Name  Description  

Curve() 
Creates and initializes a new curve with linear interpolation.


Curve(CurveInterpolation) 
Creates and initializes a new curve with the specified interpolation mode.


Curve(CurveInterpolation, Point[]) 
Creates and initializes a new curve with the specified interpolation mode and control points.

Name  Description  

Add(Curve, Curve) 
Adds two curves.


Add(Curve, Int32) 
Adds a signed scalar value to a curve.


Add(Curve, Curve, Curve) 
Adds two curves and stores the result in a new or existing curve.


Add(Curve, Int32, Curve) 
Adds a signed scalar value to a curve and stores the result in a new or existing curve.


Clamp(Curve, Int32, Int32) 
Clamps the yvalues of the curve to the interval (min, max).


Clamp(Curve, Int32, Int32, Curve) 
Clamps the yvalues of the curve to the interval (min, max).


Clear 
Clears all control points and values to defaults.


Close  
CombineIntervals(Curve, Curve, Int32) 
Combines two curves into a new curve by selecting points in one interval from the corresponding interval in one input curve, and the remaining points from the other curve.


CombineIntervals(Curve, Curve, Int32, Curve) 
Combines two curves into a new curve by selecting points in one interval from the corresponding interval in one input curve, and the remaining points from the other curve.


Compose(Curve, Curve) 
Composes two curves (curve1 ∘ curve2).


Compose(Curve, Curve, Curve) 
Composes two curves (curve1 ∘ curve2) and stores the result in a new or existing curve.


EstimateInterpolationFactor(Curve, Curve) 
Estimates the factor of interpolation between the identity curve and the curve supplied that should be used to get as close to target curve as possible.


EstimateInterpolationFactor(Curve, CurveMinMaxPair) 
Estimates the factor of interpolation between the identity curve and one of the min and max curves supplied that should be used to get as close to target curve as possible.


EstimateInterpolationFactors(Void, Double)  
EstimateInterpolationFactors(Curve, IEnumerable<Curve>)  
EstimateInterpolationFactors(Curve, IEnumerable<CurveMinMaxPair>)  
GetInterpolatedValues 
Gets the curve represented as an array of yvalues, corresponding to each x in the range [MinX,MaxX].


Interpolate(CurveMinMaxPair, Double) 
Interpolates between the min and the max curve.


Interpolate(Curve, Curve, Double) 
Interpolates between two curves.


Interpolate(CurveMinMaxPair, Double, Curve) 
Interpolates between the min and the max curve.


Interpolate(Curve, Curve, Double, Curve) 
Interpolates between two curves and stores the result in a new or existing curve.


Interpolate3(Curve, Curve, Curve, Double) 
Interpolates between maxCurve and normCurve if alpha >= 0, otherwise between minCurve and normCurve.
If alpha is 1, the resulting curve is identical to maxCurve. If alpha is 1, the resulting curve is identical to minCurve. If alpha is 0, the resulting curve is equal to normCurve. The result is stored in a new or existing curve. 

Interpolate3(Curve, Curve, Curve, Double, Curve) 
Interpolates between maxCurve and normCurve if alpha >= 0, otherwise between minCurve and normCurve.
If alpha is 1, the resulting curve is identical to maxCurve. If alpha is 1, the resulting curve is identical to minCurve. If alpha is 0, the resulting curve is equal to normCurve. The result is stored in a new or existing curve. 

Multiply(Curve, Double) 
Multiplies a curve with a signed scalar value.


Multiply(Curve, Double, Curve) 
Multiplies a curve with a signed scalar value and stores the result in a new or existing curve.


Reflect(Curve, Double) 
Reflects a curve in the line y = m*x.


Reflect(Curve, Double, Curve) 
Reflects a curve in the line y = m*x into a new or existing curve.


RemovePoint 
Remove a control point from the curve.


SetPoint(Point) 
Set a control point for the curve.


SetPoint(Int32, Int32) 
Set a control point for the curve.


Subtract(Int32, Curve) 
Subtracts a curve from a signed scalar value.


Subtract(Curve, Curve) 
Subtracts the first curve from the second.


Subtract(Int32, Curve, Curve) 
Subtracts a curve from a signed scalar value and stores the result in a new or existing curve.


Subtract(Curve, Curve, Curve) 
Subtracts the first curve from the second and stores the result in a new or existing curve.

Name  Description  

CurveInterpolation 
The method of interpolation used when creating curve values between control points.


Points 
The control points that will be used to create the curve.


Values 
The curve represented as an array of yvalues corresponding to each x in the range [MinX,MaxX].

Show: