Interface XYEquallySpacedOptions

interface XYEquallySpacedOptions {
    exclusions?: FromTo[];
    from?: number;
    numberOfPoints?: number;
    to?: number;
    variant?: "slot" | "smooth";
    zones?: FromTo[];
}

Properties

exclusions?: FromTo[]

array of from / to that should be skipped for the generation of the points

[]
from?: number

from

x[0]
numberOfPoints?: number

number of points

100
to?: number

to

x[x.length-1]
variant?: "slot" | "smooth"

variant

'smooth'
zones?: FromTo[]

array of from / to that should be kept

[]