Coordinate

data class Coordinate(val location: Location, val levels: List<Float> = listOf(), val heightFromFloor: Float? = null)

Constructors

Link copied to clipboard
constructor(location: Location, level: Float)
constructor(latitude: Double, longitude: Double, levels: List<Float> = emptyList())
constructor(latitude: Double, longitude: Double, level: Float)
constructor(latitude: Double, longitude: Double, altitude: Double, accuracy: Float, levels: List<Float> = emptyList())
constructor(location: Location, levels: List<Float> = listOf(), heightFromFloor: Float? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

altitude from sea level expressed in meters.

Link copied to clipboard
Link copied to clipboard
val cartesian: Double3
Link copied to clipboard
val ecef: Double3
Link copied to clipboard
val ecefToEnuRot: Quaternion
Link copied to clipboard
val ecefToEusRot: Quaternion
Link copied to clipboard
val enuToEcefRot: Quaternion
Link copied to clipboard
val eusToEcefRot: Quaternion
Link copied to clipboard
val heightFromFloor: Float? = null

height from the floor of the defined level. Must be null outdoor.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val point: Point
Link copied to clipboard
val time: Long

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

https://stackoverflow.com/questions/1299567/how-to-calculate-distance-from-a-point-to-a-line-segment-on-a-sphere Adapted to cartesian coordinates using Spherical model Note: Ellipsoid model using ECEF seems to not work due to Earth radius factor

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String