Packages

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Z2Range
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Z2Range(min: Z2, max: Z2)

    min

    The lower-left point

    max

    The upper-right point

Value Members

  1. def contains(r: Z2Range): Boolean
  2. def contains(z: Z2): Boolean
  3. 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?

  4. def length: Long
  5. val max: Z2
  6. def mid: Z2
  7. val min: Z2
  8. def overlaps(r: Z2Range): Boolean