Last updated

API / geotoolkit / contour / datasource / OneGridDataSource / OneGridDataSource

Class: OneGridDataSource

datasource.OneGridDataSource.OneGridDataSource

The data source implementation for a single grid

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new OneGridDataSource(grid)

new OneGridDataSource(grid?)

Parameters

Name Type Description
Optional gridContourAbstractGridThe grid associated with this data.

Overrides

AbstractContourDataSource.constructor

Methods

freeGrid

freeGrid(grid): void

Release memory occupied by the grid.

Parameters

Name Type Description
gridContourAbstractGridThe grid that contains points.

Returns

void

Overrides

AbstractContourDataSource.freeGrid


getClassName

getClassName(): string

Returns

string

Inherited from

AbstractContourDataSource.getClassName


getModelLimits

getModelLimits(): Rect

Gets the model limits of contour data.

Returns

Rect

modelLimits The rectangle that contains all data grids,

Overrides

AbstractContourDataSource.getModelLimits


getProperties

getProperties(): AnyRecord

Gets the datasource properties

Returns

AnyRecord

properties datasource properties

Inherited from

AbstractContourDataSource.getProperties


loadGrid

loadGrid(): ContourAbstractGrid

Loads grid into memory.

Returns

ContourAbstractGrid

grid The loaded grid.

Overrides

AbstractContourDataSource.loadGrid


setGrid

setGrid(grid): OneGridDataSource

Sets grid.

Parameters

Name Type Description
gridContourAbstractGridThe grid associated with this data.

Returns

OneGridDataSource


setProperties

setProperties(properties): OneGridDataSource

Sets the datasource properties

Parameters

Name Type Description
propertiesAnyRecorddatasource properties

Returns

OneGridDataSource

this

Inherited from

AbstractContourDataSource.setProperties


getClassName

Static getClassName(): string

Returns

string

Inherited from

AbstractContourDataSource.getClassName