| Modifier and Type | Field and Description |
|---|---|
mikera.vectorz.Vector3 |
lower |
mikera.vectorz.Vector3 |
upper |
| Constructor and Description |
|---|
BoundBox()
Creates an empty BoundBox
|
BoundBox(mikera.vectorz.AVector a)
Create a BoundBox including a Single point
|
BoundBox(mikera.vectorz.AVector a,
mikera.vectorz.AVector b) |
BoundBox(BoundBox bb)
Construct a BoundBox as an exact deep copy of another BoundBox
|
BoundBox(BoundBox bb,
double margin)
Construct a BoundBox with a margin around an existing BoundBox
|
BoundBox(mikera.vectorz.Vector3 a,
double margin)
Creates a boundbox with a margin around a single point.
|
| Modifier and Type | Method and Description |
|---|---|
BoundBox |
clone() |
boolean |
contains(BoundBox bb) |
boolean |
contains(double x,
double y,
double z) |
boolean |
equals(BoundBox b) |
boolean |
equals(Object o) |
int |
hashCode() |
void |
include(mikera.vectorz.AVector a) |
void |
include(BoundBox bb) |
void |
include(double x,
double y,
double z)
Includes a single point specified by x,y,z.
|
void |
include(mikera.vectorz.Vector3 a) |
void |
include(mikera.vectorz.Vector3 point,
double margin) |
void |
include(mikera.vectorz.Vector3 lower,
mikera.vectorz.Vector3 upper)
Includes the bounds between two vectors.
|
void |
includeEverything()
Adds everything to the BoundBox
|
void |
includeX(double x)
Ensures a specific x value is included.
|
void |
includeY(double y)
Ensures a specific y value is included.
|
void |
includeZ(double z)
Ensures a specific z value is included.
|
void |
setToPoint(mikera.vectorz.Vector3 a) |
String |
toString() |
public final mikera.vectorz.Vector3 lower
public final mikera.vectorz.Vector3 upper
public BoundBox(BoundBox bb)
public BoundBox()
public BoundBox(BoundBox bb, double margin)
public BoundBox(mikera.vectorz.Vector3 a,
double margin)
public BoundBox(mikera.vectorz.AVector a)
public BoundBox(mikera.vectorz.AVector a,
mikera.vectorz.AVector b)
public void include(double x,
double y,
double z)
public void includeX(double x)
public void includeY(double y)
public void includeZ(double z)
public void include(mikera.vectorz.AVector a)
public void include(mikera.vectorz.Vector3 a)
public void include(mikera.vectorz.Vector3 lower,
mikera.vectorz.Vector3 upper)
public void include(BoundBox bb)
public void setToPoint(mikera.vectorz.Vector3 a)
public boolean equals(BoundBox b)
public boolean contains(double x,
double y,
double z)
public boolean contains(BoundBox bb)
public void includeEverything()
public void include(mikera.vectorz.Vector3 point,
double margin)
Copyright © 2012. All Rights Reserved.