case class BoundingBox(ll: Point, ur: Point) extends Product with Serializable
A bounding box is a lat-lon rectangle defined by a "lower left" and an "upper right" point.
We do make the assumption that the lower left corner's latitude and longitude are less than or equal to the upper right corner's.
NB: Lat-lon rectangles which cross the {+|-}180 longitude line cannot be represented.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BoundingBox
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BoundingBox(ll: Point, ur: Point)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val centerPoint: Point
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
contains(otherGeom: Geometry): Boolean
This bounding box contains geom iff no points of goem lie in the exterior of this bounding box, and at least one point of the interior of goem lies in the interior of this bounding box.
-
def
covers(pt: Point): Boolean
This bounding box covers pt iff pt does not line in the exterior of this bounding box.
-
def
covers(bbox: BoundingBox): Boolean
This bounding box covers bbox iff no points of bbox lie in the exterior of this bounding box.
- lazy val envelope: Envelope
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val geom: Geometry
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getExpandedBoundingBox(that: BoundingBox): BoundingBox
- def intersects(bbox: BoundingBox): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val latitudeSize: Double
- val ll: Point
- lazy val longitudeSize: Double
- lazy val lr: Point
- lazy val maxLat: Double
- lazy val maxLon: Double
- lazy val midLat: Double
- lazy val midLon: Double
- lazy val minLat: Double
- lazy val minLon: Double
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- lazy val ul: Point
- val ur: Point
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated