DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer3D.RayIntersectDem | Methods | Properties
Gets the intersection point between a ray and a DEM.
Available also on: Python.
// 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;
| 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. |
| Type | Description |
|---|---|
| WordBool | True if the ray intersects the DEM; otherwise False. |
ScaleZ must be set to 1.0 and AdvNavigation must be set to False.