Skip to content

API / geotoolkit3d / util / interpolators / InverseDistanceWeighting / InverseDistanceWeighting

Class: InverseDistanceWeighting

interpolators.InverseDistanceWeighting.InverseDistanceWeighting

Implementation of inverse distance weighting interpolator https://en.wikipedia.org/wiki/Inverse_distance_weighting

Hierarchy

Table of contents

Constructors
  • [new InverseDistanceWeighting()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.util-5.interpolators.inversedistanceweighting.inversedistanceweighting.md#new inversedistanceweighting())
Methods

Contents

Constructors

new InverseDistanceWeighting()

• new InverseDistanceWeighting()

Inherited from

AbstractInterpolator.constructor

Methods

getClassName

▸ getClassName(): string

Returns

string

Inherited from

AbstractInterpolator.getClassName


interpolate

▸ interpolate(boundingBox, stepsCount, x, y?, z?, values?): Float32Array

Method for interpolation irregular data to regular (raw) data

Parameters

Name Type Description
boundingBoxBox3bounding box
stepsCountVector3step count
xnumber[] | Vector4[]points with values or array with x coordinates
Optional ynumber[]array with y coordinates
Optional znumber[]array with z coordinates
Optional valuesnumber[]array with values

Returns

Float32Array

array with raw data

Overrides

AbstractInterpolator.interpolate


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

AbstractInterpolator.getClassName