DK for ActiveX | TatukGIS_XDK11.ITGIS_Viewer3DBase.RayIntersectDem | Methods | Properties
Get intersection point between a ray and a DEM
Available also on: Delphi | .NET WinForms | 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 a ray and a DEM if Result = True |
Type | Description |
---|---|
WordBool | True if ray intersects DEM, False if not |
ScaleZ property must be set to 1.0 AdvNavigation must be set to False