API / geotoolkit3d / data / surface / AbstractSurfaceData / 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.
AbstractSurfaceData
Constructors
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