Class/Object

com.github.tsingjyujing.geo.element

GeoBox

Related Docs: object GeoBox | package element

Permalink

case class GeoBox(minLongitude: Double, maxLongitude: Double, minLatitude: Double, maxLatitude: Double) extends IContains[IGeoPoint] with Product with Serializable

A boundary box with min/max longitude/latitude

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

Instance Constructors

  1. new GeoBox(minLongitude: Double, maxLongitude: Double, minLatitude: Double, maxLatitude: Double)

    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 &(b: GeoBox): Option[GeoBox]

    Permalink

    Get intersect zone of GeoBlock

    Get intersect zone of GeoBlock

    b

    geo-block

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def anglePoints: Array[GeoPoint]

    Permalink
  6. def area: Double

    Permalink

    assert x as longitude and y as latitude
    \delta_{x} = max longitude - min longitude
    y1 = max latitude
    y0 = min latitude
    S = R \times \Delta{x} \times \int_{y_0}^{y_1}{ cos(y) dy \times R}
  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 contains(x: IGeoPoint): Boolean

    Permalink

    Is x contains in self

    Is x contains in self

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

    Permalink
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def getLatitudeRange: DoubleRange

    Permalink
  13. def getLongitudeRange: DoubleRange

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isIntersect(b: GeoBox): Boolean

    Permalink
  16. val maxLatitude: Double

    Permalink
  17. val maxLongitude: Double

    Permalink
  18. val minLatitude: Double

    Permalink
  19. val minLongitude: Double

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

    Permalink
    Definition Classes
    AnyRef
  21. final def nonContains(x: IGeoPoint): Boolean

    Permalink

    NOT contains

    NOT contains

    Definition Classes
    IContains
  22. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def toPolygon: GeoPolygon

    Permalink

    Get polygon of this block

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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 IContains[IGeoPoint]

Inherited from AnyRef

Inherited from Any

Ungrouped