Skip to content
Last updated

API / geotoolkit / gridding / ThinPlateInterpolator / ThinPlateInterpolator

Class: ThinPlateInterpolator

gridding.ThinPlateInterpolator.ThinPlateInterpolator

Class implements Thin Plate algorithm. See https://en.wikipedia.org/wiki/Thin_plate_spline for more details.

Hierarchy

Table of contents

Constructors
  • [new ThinPlateInterpolator(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.gridding.thinplateinterpolator.thinplateinterpolator.md#new thinplateinterpolator(options))
Methods

Contents

Constructors

new ThinPlateInterpolator(options)

• new ThinPlateInterpolator(options?)

Parameters

Name Type
Optional optionsOptions

Overrides

AbstractInterpolator.constructor

Methods

getClassName

▸ getClassName(): string

Returns

string

Inherited from

AbstractInterpolator.getClassName


getValues

▸ getValues(xSeries, ySeries): Promise<number[]&gt;

Get interpolate z series by (x,y) pairs. Returns Promise, which resolves with array of z-series

Parameters

Name Type Description
xSeriesnumber[]x series
ySeriesnumber[]y series

Returns

Promise<number[]&gt;

Overrides

AbstractInterpolator.getValues


isWasmEnabled

▸ isWasmEnabled(): boolean

Returns true if browser supports WebAssembly, this interpolator has such realisation and option enabled in this interpolator

Returns

boolean

Inherited from

AbstractInterpolator.isWasmEnabled


isWasmSupported

▸ Protected isWasmSupported(): boolean

If this interpolator supports WebAssembly

Returns

boolean

Inherited from

AbstractInterpolator.isWasmSupported


prepare

▸ prepare(xSeries, ySeries, zSeries): Promise<void&gt;

Prepare data and run training

Parameters

Name Type Description
xSeriesnumber[]x series
ySeriesnumber[]y series
zSeriesnumber[]z series

Returns

Promise<void&gt;

Inherited from

AbstractInterpolator.prepare


train

▸ Protected train(xSeries, ySeries, zSeries): Promise<void&gt;

Teach algorithm with existing points. Internal use.

Parameters

Name Type Description
xSeriesnumber[]x series
ySeriesnumber[]y series
zSeriesnumber[]z series

Returns

Promise<void&gt;

Overrides

AbstractInterpolator.train


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

AbstractInterpolator.getClassName