Class

com.github.tsingjyujing.geo.element.immutable

GeoLine

Related Doc: package immutable

Permalink

case class GeoLine[TGeoPoint <: IGeoPoint](pointStart: TGeoPoint, pointEnd: TGeoPoint) extends GeoDistanceMeasurable[IGeoPoint] with GeoJSONable with Product with Serializable

Create a GeoLine object

TGeoPoint

Type of GeoPoint

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

Instance Constructors

  1. new GeoLine(pointStart: TGeoPoint, pointEnd: TGeoPoint)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def dataValid: Boolean

    Permalink

    The length of line should over 1 meter in current accuracy of GPS sensors

    The length of line should over 1 meter in current accuracy of GPS sensors

    returns

    is this line valid

    Attributes
    protected
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def getTerminalPoints: (TGeoPoint, TGeoPoint)

    Permalink

    get two points of the line

  11. val invM: RealMatrix

    Permalink

    Get inversed matrix of {v1,v2,n} which can do decomposition of any vector

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def lineLength: Double

    Permalink

    Get the distance of start point to end point as length of the line

    Get the distance of start point to end point as length of the line

    returns

    length of the line in kilometer

  14. val n: Array[Double]

    Permalink

    normal vector of two vectors for each vector, is the O->point on sphere in R3

  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. val pointEnd: TGeoPoint

    Permalink
  19. val pointStart: TGeoPoint

    Permalink
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. 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
    GeoLineGeoJSONable
  22. def toGeoJSONString: String

    Permalink
    Definition Classes
    GeoJSONable
  23. final def wait(arg0: Long, arg1: Int): Unit

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

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

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

Inherited from Equals

Inherited from GeoJSONable

Inherited from AnyRef

Inherited from Any

Ungrouped