object SinusoidalProjection extends GeoProjection
A simple and fast com.here.platform.location.core.geospatial.GeoProjection used for most use cases.
The error is less than 1% for distances up to 10km when the latitude is between +85 and -85 degrees.
- Alphabetic
- By Inheritance
- SinusoidalProjection
- GeoProjection
- Serializable
- 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 DistanceCalculator: ProjectionDistanceCalculator
- 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
- def from[CGC, C](center: CGC, coordinates: C)(implicit arg0: GeoCoordinateOperations[CGC], arg1: CoordinateOperations[C]): GeoCoordinate
Projects back to WGS84 coordinates (in degrees) from Cartesian coordinates (in meters).
Projects back to WGS84 coordinates (in degrees) from Cartesian coordinates (in meters).
Should not be used for latitudes within 0.001 degrees from any of the poles (equivalent to 90 or -90), since the behavior becomes random due to calculation limitations (division by value close to zero).
- CGC
The type of the center of the projection
- C
The type of the point to be projected
- center
The center of the projection
- coordinates
The Cartesian coordinates, near the center, to be projected back to WGS84
- returns
A projected point in WGS84 coordinates
- Definition Classes
- SinusoidalProjection → GeoProjection
- 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 to[CGC, GC](center: CGC, p: GC)(implicit arg0: GeoCoordinateOperations[CGC], arg1: GeoCoordinateOperations[GC]): Coordinate2D
Projects WGS84 coordinates (in degrees) into Cartesian coordinates (in meters).
Projects WGS84 coordinates (in degrees) into Cartesian coordinates (in meters).
- CGC
The type of the WGS84 coordinates of the projection center
- GC
The type of the WGS84 coordinates of the point to be projected
- center
The center of the projection, needs to be the same for all points that take part in the following computation (e.g. distance) and the same center should be used to then project resulting coordinates back into WGS84.
- p
The point to be projected
- returns
A projected point in Cartesian coordinates (in meters)
- Definition Classes
- SinusoidalProjection → GeoProjection
- def toCenter[GC](center: GC)(implicit arg0: GeoCoordinateOperations[GC]): Coordinate2D
Projects a point to Cartesian coordinates using that same point as the center.
Projects a point to Cartesian coordinates using that same point as the center.
- Definition Classes
- SinusoidalProjection → GeoProjection
- 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)