Skip to content

API / geotoolkit3d / data / surface / SurfaceData / SurfaceData

Class: SurfaceData

surface.SurfaceData.SurfaceData

A Surface data class created from raw vertices (non-indexed set of 3D points).<br> This class triangulate the given vertices using Delaunay algorithms, to produce a valid Surface.

Throws

if the Surface Data is not compliant and compromise the creation of the surface.

Throws

SurfaceData is empty after triangulation

Hierarchy

Table of contents

Constructors
  • [new SurfaceData(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.data-8.surface-1.surfacedata.surfacedata.md#new surfacedata(options))
Methods

Contents

Constructors

new SurfaceData(options)

• new SurfaceData(options)

Parameters

Name Type
optionsOptions

Overrides

AbstractSurfaceData.constructor

Methods

dispose

▸ dispose(): void

Dispose this surface data to allow for garbage collection.

Returns

void

Inherited from

AbstractSurfaceData.dispose


getAttributes

▸ getAttributes(): Attributes

Returns the vertex/index attributes, and any other defined attributes of this surface as BufferAttribute.

Returns

Attributes

Inherited from

AbstractSurfaceData.getAttributes


getClassName

▸ getClassName(): string

Returns

string

Inherited from

AbstractSurfaceData.getClassName


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

AbstractSurfaceData.getClassName