DCS singleton land

From DCS World Wiki - Hoggitworld.com


Singleton: land Added with: 1.2.0
Description: The land singleton contains functions used to get information about the terrain geometry of a given map. Functions include getting data on the type and height of terrain at a specific points and raytracing functions.
Functions: getHeight, getSurfaceHeightWithSeabed, getSurfaceType, isVisible, getIP, profile, getClosestPointOnRoads, findPathOnRoads
Enumerators and Other Data: land has an enumerator that defines the type of surface over a given point. Note that taxiways, ramps, and other airbase features are returned as the 'RUNWAY' surface type.
land.SurfaceType 
  LAND             1
  SHALLOW_WATER    2
  WATER            3 
  ROAD             4
  RUNWAY           5
Notes: