Packages

o

com.here.platform.location.core.geospatial

SinusoidalProjection

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.

Linear Supertypes
GeoProjection, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SinusoidalProjection
  2. GeoProjection
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    A ProjectionDistanceCalculator using SinusoidalProjection

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. 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
    SinusoidalProjectionGeoProjection
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. 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
    SinusoidalProjectionGeoProjection
  18. 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
    SinusoidalProjectionGeoProjection
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from GeoProjection

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped