User Tools

Site Tools


api:dk11:delphi:gislayer.tgis_layer.unproject_tgis_point

Table of Contents

TGIS_Layer.Unproject method

DK11 for Delphi | GisLayer.TGIS_Layer.Unproject | Constructors | Fields | Methods | Properties | Events

Applies reverse projection (recovers from the projection) on the single point.

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

Syntax

// Delphi
public
  function Unproject(
    const _ptg : TGIS_Point
  ) : TGIS_Point; virtual;
// C++ Builder
public:
  virtual TGIS_Point* Unproject(
    TGIS_Point* const _ptg
  );

Parameters

Name Type Description
_ptg TGIS_Point point to be unprojected

Result

Type Description
TGIS_Point unprojected point

Example

Delphi

ptg.X := DegToRadians( 18 ) ;
ptg.Y := DegToRadians( 54 ) ;
 
GIS.CenterViewport( Layer.Unproject( ptg ) ) ;
2022/11/16 01:18

Page Tools