Class/Object

com.github.tsingjyujing.geo.element.immutable

GeoPointValued

Related Docs: object GeoPointValued | package immutable

Permalink

case class GeoPointValued[T](longitude: Double, latitude: Double, value: T) extends IGeoPoint with IValue[T] with Product with Serializable

Get a geo point with value

T

value type

Linear Supertypes
Product, Equals, IValue[T], IGeoPoint, Serializable, Serializable, GeoJSONable, GeoDistanceMeasurable[IGeoPoint], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoPointValued
  2. Product
  3. Equals
  4. IValue
  5. IGeoPoint
  6. Serializable
  7. Serializable
  8. GeoJSONable
  9. GeoDistanceMeasurable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeoPointValued(longitude: Double, latitude: Double, value: T)

    Permalink

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
    Definition Classes
    IGeoPoint
  4. def -(x: IGeoPoint): IVector2

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

    Permalink
    Definition Classes
    IGeoPoint
  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

    Definition Classes
    IGeoPoint
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. 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
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def getLatitude: Double

    Permalink

    Get latitude recommended in WGS84 format

    Get latitude recommended in WGS84 format

    returns

    Latitude in degree

    Definition Classes
    GeoPointValuedIGeoPoint
  14. def getLongitude: Double

    Permalink

    Get longitude recommended in WGS84 format

    Get longitude recommended in WGS84 format

    returns

    Longitude in degree

    Definition Classes
    GeoPointValuedIGeoPoint
  15. def getValue: T

    Permalink

    Get value

    Get value

    Definition Classes
    GeoPointValuedIValue
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val latitude: Double

    Permalink
  18. val longitude: Double

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. 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
  24. def toGeoJSONString: String

    Permalink
    Definition Classes
    GeoJSONable
  25. final def toIVector2: IVector2

    Permalink

    Get Mercator projection potision as vector2

    Get Mercator projection potision as vector2

    Definition Classes
    IGeoPoint
  26. final def toIVector3: IVector3

    Permalink

    Get vector3 in R3 on 2d sphere

    Get vector3 in R3 on 2d sphere

    Definition Classes
    IGeoPoint
  27. def toString(): String

    Permalink
    Definition Classes
    IGeoPoint → AnyRef → Any
  28. val value: T

    Permalink
  29. def verifyLatitude: Unit

    Permalink

    Verify is latitude value is legal

    Verify is latitude value is legal

    Attributes
    protected
    Definition Classes
    IGeoPoint
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

  30. def verifyLongitude: Unit

    Permalink

    Verify is longitude value is legal

    Verify is longitude value is legal

    Attributes
    protected
    Definition Classes
    IGeoPoint
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

  31. def verifyValues: Unit

    Permalink

    Verify is latitude & longitude values are legal

    Verify is latitude & longitude values are legal

    Attributes
    protected
    Definition Classes
    IGeoPoint
    Annotations
    @throws( ... )
    Exceptions thrown

    AssertionError verify failed

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. 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 Product

Inherited from Equals

Inherited from IValue[T]

Inherited from IGeoPoint

Inherited from Serializable

Inherited from Serializable

Inherited from GeoJSONable

Inherited from AnyRef

Inherited from Any

Ungrouped