API / geotoolkit / contour / datasource / AbstractContourDataSource / AbstractContourDataSource
datasource.AbstractContourDataSource.AbstractContourDataSource
Abstract datasource that supplies data for contour. Data are supplied as a set of grids. Contour building algorithm calls 'Query' method to get the enumerator that enumerates set of grids appropriate for given model rectangle and model-to-device transformation. Contour building algorithm calls 'LoadGrid' on enumerator to load grid into memory and get access to its data.
AbstractContourDataSource
Constructors
Methods
▸ Abstract freeGrid(grid): void
Release memory occupied by the grid.
| Name | Type | Description |
|---|---|---|
grid | ContourAbstractGrid | The grid that contains points. |
void
▸ getClassName(): string
string
▸ Abstract getModelLimits(): Rect
Gets the model limits of contour data.
modelLimits The rectangle that contains all data grids,
▸ getProperties(): AnyRecord
Gets the datasource properties
properties datasource properties
▸ Abstract loadGrid(): ContourAbstractGrid
Loads grid into memory.
grid The loaded grid.
▸ setProperties(properties): AbstractContourDataSource
Sets the datasource properties
| Name | Type | Description |
|---|---|---|
properties | AnyRecord | datasource properties |
this
▸ Static getClassName(): string
string