Trait/Object

com.github.tsingjyujing.geo.basic

IGeoPoint

Related Docs: object IGeoPoint | package basic

Permalink

trait IGeoPoint extends GeoDistanceMeasurable[IGeoPoint] with GeoJSONable with Serializable

Any type which can get longitude and latitude (on earth)

Linear Supertypes
Serializable, Serializable, GeoJSONable, GeoDistanceMeasurable[IGeoPoint], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IGeoPoint
  2. Serializable
  3. Serializable
  4. GeoJSONable
  5. GeoDistanceMeasurable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getLatitude: Double

    Permalink

    Get latitude recommended in WGS84 format

    Get latitude recommended in WGS84 format

    returns

    Latitude in degree

  2. abstract def getLongitude: Double

    Permalink

    Get longitude recommended in WGS84 format

    Get longitude recommended in WGS84 format

    returns

    Longitude in degree

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(x: IVector2): IGeoPoint

    Permalink
  4. def -(x: IGeoPoint): IVector2

    Permalink
  5. def -(x: IVector2): IGeoPoint

    Permalink
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def directionTo(point: IGeoPoint): Double

    Permalink

    Get the direction from this to target point in unit of Degree

    Get the direction from this to target point in unit of Degree

    North: 0/360 East: 90 South: 180 West: 270

    point

    target point

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def geoTo(point: IGeoPoint): Double

    Permalink

    Get distance from this to point or point to this (should be same)

    Get distance from this to point or point to this (should be same)

    point

    geo point

    Definition Classes
    IGeoPointGeoDistanceMeasurable
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toGeoJSON: JSONObject

    Permalink

    Get scala original JSON object, JSON object deprecated in Scala 2.12 but still using in 2.10

    Get scala original JSON object, JSON object deprecated in Scala 2.12 but still using in 2.10

    Definition Classes
    IGeoPointGeoJSONable
  21. def toGeoJSONString: String

    Permalink
    Definition Classes
    GeoJSONable
  22. final def toIVector2: IVector2

    Permalink

    Get Mercator projection potision as vector2

  23. final def toIVector3: IVector3

    Permalink

    Get vector3 in R3 on 2d sphere

  24. def toString(): String

    Permalink
    Definition Classes
    IGeoPoint → AnyRef → Any
  25. def verifyLatitude: Unit

    Permalink

    Verify is latitude value is legal

    Verify is latitude value is legal

    Attributes
    protected
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

  26. def verifyLongitude: Unit

    Permalink

    Verify is longitude value is legal

    Verify is longitude value is legal

    Attributes
    protected
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

  27. def verifyValues: Unit

    Permalink

    Verify is latitude & longitude values are legal

    Verify is latitude & longitude values are legal

    Attributes
    protected
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def ~>(point: IGeoPoint): Double

    Permalink

    Alias of geoTo

    Alias of geoTo

    Definition Classes
    GeoDistanceMeasurable

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from GeoJSONable

Inherited from AnyRef

Inherited from Any

Ungrouped