API / geotoolkit / contour / datasource / ContourDataSource / ContourDataSource
datasource.ContourDataSource.ContourDataSource
This 'interface' class extends abstract definition of contour data, which includes information about model limits and contour grid. This interface can be implemented for ZMAP and TSURF data
↳
ContourDataSource
Constructors
Methods
Constructors
• Protected new ContourDataSource()
AbstractContourDataSource.constructor
Methods
▸ Abstract 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
▸ Abstract getGridType(): ContourGridType
Gets the type of grid.
▸ getMax(): number
Gets the maximum z-value.
number
max The maximum of the data.
▸ getMin(): number
Gets the minimum z-value.
number
min The minimum of the data.
▸ Abstract getModelLimits(): Rect
Gets the model limits of contour data.
modelLimits The rectangle that contains all data grids,
AbstractContourDataSource.getModelLimits
▸ getObjectName(): string
Gets the object name
string
name The name of the object
▸ getProperties(): AnyRecord
Gets the datasource properties
properties datasource properties
AbstractContourDataSource.getProperties
▸ Abstract loadGrid(): ContourAbstractGrid
Loads grid into memory.
grid The loaded grid.
AbstractContourDataSource.loadGrid
▸ setMax(max): ContourDataSource
Sets the maximum z-value.
| Name | Type | Description |
|---|---|---|
max | number | The maximum of the data |
this
▸ setMin(min): ContourDataSource
Sets the minimum z-value.
| Name | Type | Description |
|---|---|---|
min | number | The minimum of the data. |
this
▸ setObjectName(name): ContourDataSource
Sets the object name
| Name | Type | Description |
|---|---|---|
name | string | The name of the object |
this
▸ setProperties(properties): ContourDataSource
Sets the datasource properties
| Name | Type | Description |
|---|---|---|
properties | AnyRecord | datasource properties |
this
AbstractContourDataSource.setProperties
▸ Abstract updateArea(): void
Updates area.
void
▸ Static getClassName(): string
string