Interface XYReduceOptions

interface XYReduceOptions {
    from?: number;
    maxApproximateNbPoints?: number;
    to?: number;
    zones?: FromTo[];
}

Properties

from?: number

Default

x[0]
maxApproximateNbPoints?: number

Number of points but we could have couple more

Default

4001
to?: number

Default

x[x.length-1]
zones?: FromTo[]

Array of zones to keep (from/to object)

Default

[]