object Z2
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Z2
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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 val MAX_BITS: Int(31)
- final val MAX_DIM: Int(2)
- final val MAX_MASK: Int(2147483647)
-
def
apply(x: Int, y: Int): Z2
Bits of x and y will be encoded as ....y1x1y0x0
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
combine(z: Long): Int
combine every other bit to form a value.
combine every other bit to form a value. Maximum value is 31 bits.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(target: Long, p: Long, bits: Int, dim: Int): Long
Loads either 1000...
Loads either 1000... or 0111... into starting at given bit index of a given dimention
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
split(value: Long): Long
insert 0 between every bit in value.
insert 0 between every bit in value. Only first 31 bits can be considred.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unapply(z: Z2): Option[(Int, Int)]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
- def zdivide(p: Z2, rmin: Z2, rmax: Z2): (Z2, Z2)
-
def
zranges(min: Z2, max: Z2): Seq[(BigInt, BigInt)]
Recurse down the quad-tree and report all z-ranges which are contained in the rectangle defined by the min and max points