object Haversine
- Alphabetic
- By Inheritance
- Haversine
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val EARTH_RADIUS: Double
Equatorial radius (WGS84) in meters
- def apply(startLon: Double, startLat: Double, endLon: Double, endLat: Double, R: Double): Double
Calculates distance, in R units
Calculates distance, in R units
- startLon
- a start lon
- startLat
- a start lan
- endLon
- an end lon
- endLat
- an end lat
- R
- Earth radius, can be in any unit, in fact this value defines a physical meaning of this function
- def apply(start: (Double, Double), end: (Double, Double), R: Double): Double
Calculates distance, in R units
Calculates distance, in R units
- start
- a start lon / lat point
- end
- an end lon / lat point
- R
- Earth radius, can be in any unit, in fact this value defines a physical meaning of this function
- def apply(startLon: Double, startLat: Double, endLon: Double, endLat: Double): Double
Calculates distance basing on EARTH_RADIUS.
Calculates distance basing on EARTH_RADIUS. The result is in meters.
- startLon
- a start lon
- startLat
- a start lan
- endLon
- an end lon
- endLat
- an end lat
- def apply(start: (Double, Double), end: (Double, Double)): Double
Calculates distance basing on EARTH_RADIUS.
Calculates distance basing on EARTH_RADIUS. The result is in meters.
- start
- a start lon / lat point
- end
- an end lon / lat point
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()