Last updated

API / geotoolkit3d / data / surface / AbstractSurfaceData / AbstractSurfaceData

Class: AbstractSurfaceData

surface.AbstractSurfaceData.AbstractSurfaceData

Parent class for surfaces data.

Surface data is responsible of converting the user's raw data into triangles.
Those triangles will be stored in THREE.BufferAttribute as vertices and indices.

Inheriting classes should provide data for surface objects through the usage of protected setAttributes().

Throws

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

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new AbstractSurfaceData()

Protected new AbstractSurfaceData()

Methods

dispose

dispose(): void

Dispose this surface data to allow for garbage collection.

Returns

void


getAttributes

getAttributes(): Attributes

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

Returns

Attributes


getClassName

getClassName(): string

Returns

string


getClassName

Static getClassName(): string

Returns

string