Basic Terrain
open class BasicTerrain(tiles: List<TerrainTile>, sector: Sector, triStripElements: ShortArray?) : Terrain
Properties
Functions
Link copied to clipboard
Computes minimal and maximal height from available tiles with tile level offset not more than specified depth
Link copied to clipboard
Computes the first intersection of this terrain with a specified line in Cartesian coordinates. The line is interpreted as a ray; intersection points behind the line's origin are ignored. If the line does not intersect the geometric surface modeled by this terrain, this returns false and does not modify the result argument.
Link copied to clipboard
Computes the Cartesian coordinates of a geographic location on the terrain surface. If the latitude and longitude are outside the geometric surface modeled by this terrain, this returns false and does not modify the result argument.