User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_viewer3d.rayintersectdem_itgis_point3d_itgis_point3d_itgis_point3d

Table of Contents

IGIS_Viewer3D.RayIntersectDem method

DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer3D.RayIntersectDem | Methods | Properties

Gets the intersection point between a ray and a DEM.

Available also on: Python.

Syntax

// C#
public WordBool RayIntersectDem(
  ITGIS_Point3D _orig,
  ITGIS_Point3D _dir,
  out ITGIS_Point3D _ptg
);
' VisualBasic
Public Function RayIntersectDem(
  ByVal _orig As ITGIS_Point3D,
  ByVal _dir As ITGIS_Point3D,
  <out> _ptg As ITGIS_Point3D
) As WordBool
// Oxygene
public
  function RayIntersectDem(
    _orig : ITGIS_Point3D;
    _dir : ITGIS_Point3D;
    out _ptg : ITGIS_Point3D
  ) : WordBool;

Parameters

Name Type Description
_orig ITGIS_Point3D Ray origin coordinates in map units.
_dir ITGIS_Point3D Ray direction.
_ptg ITGIS_Point3D Intersection point between the ray and the DEM when the function returns True.

Result

Type Description
WordBool True if the ray intersects the DEM; otherwise False.

Remarks

ScaleZ must be set to 1.0 and AdvNavigation must be set to False.

2026/07/11 00:07

Page Tools