Curve.CombineIntervals Method (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.

Namespace: Lumia.Imaging.Adjustments
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Syntax

public static Curve CombineIntervals(
    Curve curve1,
    Curve curve2,
    int interval,
    Curve resultCurve
)
'Declaration
Public Shared Function CombineIntervals ( 
    curve1 As Curve,
    curve2 As Curve,
    interval As Integer,
    resultCurve As Curve
) As Curve
public:
static Curve^ CombineIntervals(
    [InAttribute] Curve^ curve1, 
    [InAttribute] Curve^ curve2, 
    [InAttribute] int interval, 
    [InAttribute] Curve^ resultCurve
)
Lumia.Imaging.Adjustments.Curve.CombineIntervals = function(curve1, curve2, interval, resultCurve);

Parameters

  • interval
    Type: System.Int32
    The x value that specifies the division between intervals
  • resultCurve
    Type: Lumia.Imaging.Adjustments.Curve
    Optional. If a curve is passed, the content is overwritten with the result of the operation, keeping the previously set interpolation mode. If null is passed, a new curve is created with the default interpolation mode.

Return Value

Type: Curve
The resulting curve, where result(x) = curve1(x) if x <= interval, result(x) = curve2(x) if x > interval

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

Curve Class

Curve.Curve Members

CombineIntervals Overload

Lumia.Imaging.Adjustments Namespace