User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.maptoraster_tgis_point_tgis_cscoordinatesystem

Table of Contents

TGIS_LayerPixel.MapToRaster method

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

Converts map coordinates to raster pixel location.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  function MapToRaster(
    const _ptg : TGIS_Point;
    const _cs : TGIS_CSCoordinateSystem
  ) : TPoint;
// C++ Builder
public:
  TPoint* MapToRaster(
    TGIS_Point* const _ptg,
    TGIS_CSCoordinateSystem* const _cs
  );

Parameters

Name Type Description
_ptg TGIS_Point point to be converted
_cs TGIS_CSCoordinateSystem coordinate system of _ptg; if nil that coordinate system same as layer coordinate system

Result

Type Description
TPoint calculated location
2022/11/16 01:19

Page Tools