GeoEllipsoid

@Serializable
class GeoEllipsoid(val equatorRadius: Distance, val polarRadius: Distance)

Constructors

Link copied to clipboard
constructor(equatorRadius: Distance, polarRadius: Distance)

Types

Link copied to clipboard
object Companion

Properties

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

Eccentricity squared

Link copied to clipboard
val f: Double

Flattening https://en.wikipedia.org/wiki/Flattening

Link copied to clipboard

Inverse flattening

Link copied to clipboard

Functions

Link copied to clipboard
fun GeoEllipsoid.curveBetween(start: Gmc, end: Gmc, precision: Double = 1.0E-6): GmcCurve

Taken from https://github.com/mgavaghan/geodesy

Link copied to clipboard
fun GeoEllipsoid.curveInDirection(start: GmcPose, distance: Distance, precision: Double = 1.0E-6): GmcCurve

Taken from https://github.com/mgavaghan/geodesy https://github.com/mgavaghan/geodesy/blob/ab1c6969dc964ff34929911f055b27525909ef3f/src/main/java/org/gavaghan/geodesy/GeodeticCalculator.java#L58

Link copied to clipboard

Compute distance between two map points using giv https://en.wikipedia.org/wiki/Geographical_distance#Lambert's_formula_for_long_lines

Link copied to clipboard
fun GeoEllipsoid.meridianCurve(longitude: Angle, fromLatitude: Angle, toLatitude: Angle, step: Radians = 0.015.radians): GmcCurve

Compute a curve alongside a meridian

Link copied to clipboard
fun GeoEllipsoid.parallelCurve(latitude: Angle, fromLongitude: Angle, toLongitude: Angle): GmcCurve

Compute a curve alongside a parallel

Link copied to clipboard
fun GeoEllipsoid.reducedRadius(latitude: Angle): Distance

A radius of circle normal to the axis of the ellipsoid at given latitude