SpatialCircle

data class SpatialCircle(val latitude: Double, val longitude: Double, val radiusMeters: Double)(source)

The round area the spatial map shows. The terrain is a disk of this radius; the elevation grid, the map image and terrain downloads cover bounds, the square around it.

Constructors

Link copied to clipboard
constructor(latitude: Double, longitude: Double, radiusMeters: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The square around the circle.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun contains(coordinate: LatLon): Boolean
Link copied to clipboard
fun distanceMeters(coordinate: LatLon): Double

Ground distance from the center, flat-earth in the same frame the model is built in.