User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_viewer.screentomap3d_itpoint

Table of Contents



IGIS_Viewer.ScreenToMap3D method

DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer.ScreenToMap3D | Methods | Properties

Converts point coordinates from screen coordinates to map coordinates.

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

Syntax

// C#
public ITGIS_Point3D ScreenToMap3D(
  ITPoint _pt
);
' VisualBasic
Public Function ScreenToMap3D(
  ByVal _pt As ITPoint
) As ITGIS_Point3D
// Oxygene
public
  function ScreenToMap3D(
    _pt : ITPoint
  ) : ITGIS_Point3D;

Parameters

Name Type Description
_pt ITPoint Coordinate in screen units.

Result

Type Description
ITGIS_Point3D 3D map coordinates converted from the screen coordinate.

Remarks

See TGIS_LayerVector.Locate for an example.

USAGE: Convert a screen position to 3D map coordinates for hit testing or 3D viewer interaction.

map_pt = GIS.ScreenToMap3D(screen_point)

2026/10/31 22:55

Page Tools