API / geotoolkit / contour / datasource / OneGridDataSource / OneGridDataSource
datasource.OneGridDataSource.OneGridDataSource
The data source implementation for a single grid
↳
OneGridDataSource
Constructors
Constructors
• new OneGridDataSource(grid?)
| Name | Type | Description |
|---|---|---|
Optional grid | ContourAbstractGrid | The grid associated with this data. |
AbstractContourDataSource.constructor
Methods
▸ freeGrid(grid): void
Release memory occupied by the grid.
| Name | Type | Description |
|---|---|---|
grid | ContourAbstractGrid | The grid that contains points. |
void
AbstractContourDataSource.freeGrid
▸ getClassName(): string
string
AbstractContourDataSource.getClassName
▸ getModelLimits(): Rect
Gets the model limits of contour data.
modelLimits The rectangle that contains all data grids,
AbstractContourDataSource.getModelLimits
▸ getProperties(): AnyRecord
Gets the datasource properties
properties datasource properties
AbstractContourDataSource.getProperties
▸ loadGrid(): ContourAbstractGrid
Loads grid into memory.
grid The loaded grid.
AbstractContourDataSource.loadGrid
▸ setGrid(grid): OneGridDataSource
Sets grid.
| Name | Type | Description |
|---|---|---|
grid | ContourAbstractGrid | The grid associated with this data. |
▸ setProperties(properties): OneGridDataSource
Sets the datasource properties
| Name | Type | Description |
|---|---|---|
properties | AnyRecord | datasource properties |
this
AbstractContourDataSource.setProperties
▸ Static getClassName(): string
string