java.lang.Comparable<BoundedObject.BoundedCube>
public static class BoundedObject.BoundedCube extends java.lang.Object implements java.lang.Comparable<BoundedObject.BoundedCube>
Modifier and Type | Field | Description |
---|---|---|
long |
by |
|
long |
iz |
|
long |
lx |
|
long |
oz |
|
long |
rx |
|
long |
ty |
Constructor | Description |
---|---|
BoundedCube() |
|
BoundedCube(long[] coords,
long radius) |
|
BoundedCube(long lx,
long rx,
long ty,
long by,
long iz,
long oz) |
|
BoundedCube(BoundedObject.BoundedCube l) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(BoundedObject.BoundedCube o) |
|
boolean |
contains(long[] c) |
|
boolean |
contains(long x,
long y,
long z) |
|
long |
depth() |
|
BoundedObject.BoundedCube |
expand(double[] direction,
long distance) |
|
long |
height() |
|
boolean |
intersects(BoundedObject.BoundedCube two) |
|
long |
radius() |
|
void |
set(BoundedObject.BoundedCube l) |
|
void |
union(BoundedObject.BoundedCube l) |
|
long |
width() |
public long lx
public long ty
public long iz
public long rx
public long by
public long oz
public BoundedCube()
public BoundedCube(long lx, long rx, long ty, long by, long iz, long oz)
public BoundedCube(long[] coords, long radius)
public BoundedCube(BoundedObject.BoundedCube l)
public void set(BoundedObject.BoundedCube l)
public void union(BoundedObject.BoundedCube l)
public long radius()
public BoundedObject.BoundedCube expand(double[] direction, long distance)
public boolean intersects(BoundedObject.BoundedCube two)
public boolean contains(long x, long y, long z)
public boolean contains(long[] c)
public long width()
public long height()
public long depth()
public int compareTo(BoundedObject.BoundedCube o)
compareTo
in interface java.lang.Comparable<BoundedObject.BoundedCube>