API / geotoolkit / gridding / AbstractInterpolator / AbstractInterpolator
gridding.AbstractInterpolator.AbstractInterpolator
Abstract class for gridding interpolators
AbstractInterpolator
Constructors
Methods
▸ getClassName(): string
string
▸ Abstract getValues(xSeries, ySeries): Promise<number[]>
Get interpolate z series by (x,y) pairs. Returns Promise, which resolves with array of z-series
| Name | Type | Description |
|---|---|---|
xSeries | number[] | x series |
ySeries | number[] | y series |
Promise<number[]>
▸ isWasmEnabled(): boolean
Returns true if browser supports WebAssembly, this interpolator has such realisation and option enabled in this interpolator
boolean
▸ Protected isWasmSupported(): boolean
If this interpolator supports WebAssembly
boolean
▸ prepare(xSeries, ySeries, zSeries): Promise<void>
Prepare data and run training
| Name | Type | Description |
|---|---|---|
xSeries | number[] | x series |
ySeries | number[] | y series |
zSeries | number[] | z series |
Promise<void>
▸ Protected Abstract train(xSeries, ySeries, zSeries): Promise<void>
Teach algorithm with existing points. Internal use.
| Name | Type | Description |
|---|---|---|
xSeries | number[] | x series |
ySeries | number[] | y series |
zSeries | number[] | z series |
Promise<void>
▸ Static getClassName(): string
string