User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_viewer3dbase.rayintersectdem_tgis_point3d_tgis_point3d_tgis_point3d

Table of Contents

TGIS_Viewer3DBase.RayIntersectDem method

DK for Python | tatukgis_pdk.TGIS_Viewer3DBase.RayIntersectDem | Constructors | Methods | Properties | Events

Get intersection point between a ray and a DEM

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

Syntax

Implements IGIS_Viewer3D.RayIntersectDem.

# Python
def RayIntersectDem(
  self,
  _orig: TGIS_Point3D,
  _dir: TGIS_Point3D,
  _ptg: VarParameter
) -> bool: 

Parameters

Name Type Description
_orig TGIS_Point3D ray origin coordinates in map units
_dir TGIS_Point3D ray direction
_ptg TGIS_Point3D intersection point between a ray and a DEM if Result = True

Result

Type Description
bool True if ray intersects DEM, False if not

Remarks

ScaleZ property must be set to 1.0 AdvNavigation must be set to False

2025/01/31 01:23

Page Tools