User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.getgriddata_tgis_extent_tgis_gridarray

Table of Contents

TGIS_LayerPixel.getGridData method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.getGridData | Constructors | Fields | Methods | Properties | Events

Fills provided _grid array with values defined by _extent. If the current layer does not fully cover the _extent then values outside the layer scope should be left untouched.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  function getGridData(
    const _extent : TGIS_Extent;
    const _grid : TGIS_GridArray
  ) : Boolean; virtual;
// C++ Builder
protected:
  virtual bool getGridData(
    TGIS_Extent* const _extent,
    TGIS_GridArray* const _grid
  );

Parameters

Name Type Description
_extent TGIS_Extent extent of the _grid
_grid TGIS_GridArray allocated array (with/height ratio of the _grid should be the same as width/height ration of the _extent)

Result

Type Description
Boolean True if success

Remarks

Function provide "raw" data - before coordinate system applied.

2020/05/07 01:08

Page Tools