User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_layerpixel.maptoraster_tgis_point_tgis_cscoordinatesystem

Table of Contents

TGIS_LayerPixel.MapToRaster method

DK11 for Java | tatukgis.jdk.TGIS_LayerPixel.MapToRaster | Constructors | Fields | Methods | Properties | Events

Converts map coordinates to raster pixel location.

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

Syntax

// Java
public TPoint MapToRaster(
  TGIS_Point _ptg,
  TGIS_CSCoordinateSystem _cs
);
// Oxygene
public
  function MapToRaster(
    _ptg : TGIS_Point;
    _cs : TGIS_CSCoordinateSystem
  ) : TPoint;

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:47

Page Tools