API / geotoolkit / gridding / ThinPlateInterpolator / ThinPlateInterpolator
gridding.ThinPlateInterpolator.ThinPlateInterpolator
Class implements Thin Plate algorithm. See https://en.wikipedia.org/wiki/Thin_plate_spline for more details.
↳
ThinPlateInterpolator
Constructors
Constructors
• new ThinPlateInterpolator(options?)
| Name | Type |
|---|---|
Optional options | Options |
AbstractInterpolator.constructor
Methods
▸ getClassName(): string
string
AbstractInterpolator.getClassName
▸ 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[]>
AbstractInterpolator.getValues
▸ isWasmEnabled(): boolean
Returns true if browser supports WebAssembly, this interpolator has such realisation and option enabled in this interpolator
boolean
AbstractInterpolator.isWasmEnabled
▸ Protected isWasmSupported(): boolean
If this interpolator supports WebAssembly
boolean
AbstractInterpolator.isWasmSupported
▸ 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 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