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

**Namespace:**Lumia.Imaging.Adjustments

**Assembly:**Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

```
Lumia.Imaging.Adjustments.Curve.CombineIntervals = function(curve1, curve2, interval);
```

#### Parameters

- curve1
- Type: Lumia.Imaging.Adjustments.Curve

The first curve to select points from.

- curve2
- Type: Lumia.Imaging.Adjustments.Curve

The second curve to select points from

- interval
- Type: System.Int32

The x value that specifies the division between intervals

#### Return Value

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

Show: