Skip to content

API / geotoolkit3d / util / interpolators / AbstractInterpolator / AbstractInterpolator

Class: AbstractInterpolator

interpolators.AbstractInterpolator.AbstractInterpolator

Abstract class for interpolators (transformers irregular data to regular)

Hierarchy

Table of contents

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

Contents

Constructors

new AbstractInterpolator()

• new AbstractInterpolator()

Methods

getClassName

▸ getClassName(): string

Returns

string


interpolate

▸ Abstract 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


getClassName

▸ Static getClassName(): string

Returns

string