o

# Haversine 

#### object Haversine

Linear Supertypes
Ordering
1. Alphabetic
2. By Inheritance
Inherited
1. Haversine
2. AnyRef
3. Any
1. Hide All
2. Show All
Visibility
1. Public
2. All

### Value Members

1. final def !=(arg0: Any)
Definition Classes
AnyRef → Any
2. final def ##(): Int
Definition Classes
AnyRef → Any
3. final def ==(arg0: Any)
Definition Classes
AnyRef → Any
4. val EARTH_RADIUS

Equatorial radius (WGS84) in meters

5. def apply(startLon: Double, startLat: Double, endLon: Double, endLat: Double, R: 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

6. def apply(start: (Double, Double), end: (Double, Double), R: 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

7. def apply(startLon: Double, startLat: Double, endLon: Double, endLat: 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

8. def apply(start: (Double, Double), end: (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

9. final def asInstanceOf[T0]: T0
Definition Classes
Any
10. def clone()
Attributes
protected[lang]
Definition Classes
AnyRef
Annotations
@throws( ... ) @native()
11. final def eq(arg0: AnyRef)
Definition Classes
AnyRef
12. def equals(arg0: Any)
Definition Classes
AnyRef → Any
13. def finalize(): Unit
Attributes
protected[lang]
Definition Classes
AnyRef
Annotations
@throws( classOf[java.lang.Throwable] )
14. final def getClass(): Class[_]
Definition Classes
AnyRef → Any
Annotations
@native()
15. def hashCode(): Int
Definition Classes
AnyRef → Any
Annotations
@native()
16. final def isInstanceOf[T0]
Definition Classes
Any
17. final def ne(arg0: AnyRef)
Definition Classes
AnyRef
18. final def notify(): Unit
Definition Classes
AnyRef
Annotations
@native()
19. final def notifyAll(): Unit
Definition Classes
AnyRef
Annotations
@native()
20. final def synchronized[T0](arg0: ⇒ T0): T0
Definition Classes
AnyRef
21. def toString(): String
Definition Classes
AnyRef → Any
22. final def wait(): Unit
Definition Classes
AnyRef
Annotations
@throws( ... )
23. final def wait(arg0: Long, arg1: Int): Unit
Definition Classes
AnyRef
Annotations
@throws( ... )
24. final def wait(arg0: Long): Unit
Definition Classes
AnyRef
Annotations
@throws( ... ) @native()