DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer.ScreenToMap3D | Methods | Properties
Converts point coordinates from screen coordinates to map coordinates.
// 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;
| Name | Type | Description |
|---|---|---|
| _pt | ITPoint | Coordinate in screen units. |
| Type | Description |
|---|---|
| ITGIS_Point3D | 3D map coordinates converted from the screen coordinate. |
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)