case class Z2Range(min: Z2, max: Z2) extends Product with Serializable
Represents a rectangle in defined by min and max as two opposing points
- min
The lower-left point
- max
The upper-right point
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Z2Range
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
- def contains(r: Z2Range): Boolean
- def contains(z: Z2): Boolean
-
def
cut(xd: Z2, inRange: Boolean): List[Z2Range]
Cuts Z-Range in two, can be used to perform augmented binary search
Cuts Z-Range in two, can be used to perform augmented binary search
- xd
The division point
- inRange
Is xd in query range?
- def length: Long
- val max: Z2
- def mid: Z2
- val min: Z2
- def overlaps(r: Z2Range): Boolean