trait GeoProjection extends Serializable
Converts WGS84 Earth coordinates to planar 2D coordinates and vice-versa.
- Note
Different implementations may have different limitations regarding the range of the accepted GeoCoordinates and the type of operations and approximations on the projected coordinates. See also GeoCoordinateOperations.
- Alphabetic
- By Inheritance
- GeoProjection
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def from[CGC, C](center: CGC, coord: C)(implicit arg0: GeoCoordinateOperations[CGC], arg1: CoordinateOperations[C]): GeoCoordinate
Project Cartesian coordinates (in meters) on the Earth surface, around a WGS84 point.
Project Cartesian coordinates (in meters) on the Earth surface, around a WGS84 point.
- CGC
The type of the center of the projection
- C
The type of the point to be projected
- center
The center of the projection
- coord
The point to be projected (in meters)
- returns
A projected point in WGS84 coordinates
- abstract def to[CGC, GC](center: CGC, geoCoord: GC)(implicit arg0: GeoCoordinateOperations[CGC], arg1: GeoCoordinateOperations[GC]): Coordinate2D
Project WGS84 to Cartesian coordinates (in meters).
Project WGS84 to Cartesian coordinates (in meters).
- CGC
The type of the center of the projection
- GC
The type of the point to be projected
- center
The center of the projection
- geoCoord
The point to be projected
- returns
A projected point in Cartesian coordinates (in meters)
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toCenter[GC](center: GC)(implicit arg0: GeoCoordinateOperations[GC]): Coordinate2D
Projects a point to Cartesian coordinates using that same point as the center.
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)