Interface XYReduceOptions

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

Properties

from?: number
x[0]
maxApproximateNbPoints?: number

Number of points but we could have couple more

4001
to?: number
x[x.length-1]
zones?: FromTo[]

Array of zones to keep (from/to object)

[]