API / geotoolkit3d / data / surface / AbstractSurfaceData / AbstractSurfaceData
surface.AbstractSurfaceData.AbstractSurfaceData
Parent class for surfaces data.<br> <br> Surface data is responsible of converting the user's raw data into triangles.<br> Those triangles will be stored in THREE.BufferAttribute as vertices and indices.<br> <br> Inheriting classes should provide data for surface objects through the usage of protected setAttributes().<br>
Throws
if the Surface Data is not compliant and compromise the creation of the surface.
AbstractSurfaceData
Constructors
- [new AbstractSurfaceData()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.data-8.surface-1.abstractsurfacedata.abstractsurfacedata.md#new abstractsurfacedata())
Methods
▸ dispose(): void
Dispose this surface data to allow for garbage collection.
void
▸ getAttributes(): Attributes
Returns the vertex/index attributes, and any other defined attributes of this surface as BufferAttribute.
▸ getClassName(): string
string
▸ Static getClassName(): string
string