API / geotoolkit3d / data / surface / GridSurfaceData / GridSurfaceData
surface.GridSurfaceData.GridSurfaceData
Surface data made of a vertices grid that can be triangulated.
The grid is expected to have column first:
[(0,0), (1,0), (2,0), (3,0), (0,1), (1,1), (2,1), (3,1), [...], (0,3), (1,3), (2,3), (3,3)]
X and Y values are optionals:
If only elevations are provided, X and Y values will be determined from the xmin, xstep, ymin, and ystep values.
If both xvalues and yvalues arrays are provided, they should be in the same layout as the elevation array.
Throws
if the Surface Data is not compliant and compromise the creation of the surface.
Throws
SurfaceData is empty after triangulation
↳
GridSurfaceData
Constructors
Methods
▸ dispose(): void
Dispose this surface data to allow for garbage collection.
void
▸ getAttributes(): Attributes
Returns the GridSurfaceData attributes.
AbstractSurfaceData.getAttributes
▸ getClassName(): string
string
AbstractSurfaceData.getClassName
▸ Static getClassName(): string
string