Companion

object Companion

Properties

Link copied to clipboard

maximum error from .axisLat. logic must be prepared to handle this

Functions

Link copied to clipboard
fun axisLat(centerLat: Double, radiusMeters: Double): Double

Calculate the latitude of a circle's intersections with its bbox meridians.

Link copied to clipboard
fun containsPoint(lat: Double, lon: Double, minLat: Double, maxLat: Double, minLon: Double, maxLon: Double): Boolean

returns true if rectangle (defined by minLat, maxLat, minLon, maxLon) contains the lat lon point

Link copied to clipboard
fun fromPointDistance(centerLat: Double, centerLon: Double, radiusMeters: Double): Rectangle

Compute Bounding Box for a circle using WGS-84 parameters

Link copied to clipboard

Returns the bounding box over an array of polygons