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

Default

[]
from?: number

from

Default

x[0]
numberOfPoints?: number

number of points

Default

100
to?: number

to

Default

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

variant

Default

'smooth'
zones?: FromTo[]

array of from / to that should be kept

Default

[]