public abstract class BaseBounds
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
Vector |
angle |
Vector |
position |
float |
radius |
| Constructor and Description |
|---|
BaseBounds() |
BaseBounds(BaseBounds src) |
BaseBounds(float center_x,
float center_y,
float radius) |
BaseBounds(float center_x,
float center_y,
float center_z,
float radius) |
| Modifier and Type | Method and Description |
|---|---|
float |
centerX() |
void |
centerX(float x) |
float |
centerY() |
void |
centerY(float y) |
float |
centerZ() |
void |
centerZ(float z) |
BaseBounds |
move(float offset_x,
float offset_y) |
BaseBounds |
move(float offset_x,
float offset_y,
float offset_z) |
BaseBounds |
move(Vector offset) |
boolean |
ptInBounds(float x,
float y) |
abstract boolean |
ptInBounds(float x,
float y,
float z) |
boolean |
ptInBounds(Vector other) |
protected boolean |
ptInBoundsSphere(float x,
float y,
float z,
float r) |
void |
rotate(float x,
float y,
float z) |
void |
rotate(Vector angle) |
void |
rotateX(float angle) |
void |
rotateY(float angle) |
void |
rotateZ(float angle) |
BaseBounds |
set(BaseBounds src) |
BaseBounds |
setPosition(float x,
float y) |
BaseBounds |
setPosition(float x,
float y,
float z) |
BaseBounds |
setPosition(Vector pos) |
public final Vector position
public final Vector angle
public float radius
public BaseBounds()
public BaseBounds(BaseBounds src)
public BaseBounds(float center_x,
float center_y,
float radius)
public BaseBounds(float center_x,
float center_y,
float center_z,
float radius)
public BaseBounds set(BaseBounds src)
protected boolean ptInBoundsSphere(float x,
float y,
float z,
float r)
public boolean ptInBounds(float x,
float y)
public boolean ptInBounds(Vector other)
public abstract boolean ptInBounds(float x,
float y,
float z)
public BaseBounds move(float offset_x, float offset_y)
public BaseBounds move(float offset_x, float offset_y, float offset_z)
public BaseBounds move(Vector offset)
public BaseBounds setPosition(Vector pos)
public BaseBounds setPosition(float x, float y)
public BaseBounds setPosition(float x, float y, float z)
public void centerX(float x)
public float centerX()
public void centerY(float y)
public float centerY()
public void centerZ(float z)
public float centerZ()
public void rotate(Vector angle)
public void rotate(float x,
float y,
float z)
public void rotateX(float angle)
public void rotateY(float angle)
public void rotateZ(float angle)