|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.spatial.bodies.Body
org.openmali.spatial.bodies.ConvexHull
public abstract class ConvexHull
| Field Summary | |
|---|---|
protected Plane[] |
slabs
|
| Fields inherited from class org.openmali.spatial.bodies.Body |
|---|
centerX, centerY, centerZ, distComputed, maxCenterDist, maxCenterDistSquared |
| Constructor Summary | |
|---|---|
ConvexHull(Plane[] theSlabs)
|
|
| Method Summary | |
|---|---|
void |
combine(BodyInterface body)
Combines this Body with a bounding object. |
void |
combine(BodyInterface[] bos)
Combines this Body with an array of bounding objects. |
void |
combine(float px,
float py,
float pz)
Combines this Body with a point. |
void |
combine(Point3f point)
Combines this Body with a point. |
void |
combine(Point3f[] points)
Combine this Body with an array of points. |
boolean |
contains(float px,
float py,
float pz)
Tests, if the given point is inside of this Body. |
boolean |
contains(Point3f point)
Tests, if the given point is inside of this Body. |
boolean |
intersect(Point3f point)
test for intersection with a point |
| Methods inherited from class org.openmali.spatial.bodies.Body |
|---|
getCenter, getCenterX, getCenterY, getCenterZ, getMaxCenterDistance, getMaxCenterDistanceSquared, setCenter, setCenter, setMaxCenterDistanceSquared |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Plane[] slabs
| Constructor Detail |
|---|
public ConvexHull(Plane[] theSlabs)
| Method Detail |
|---|
public boolean intersect(Point3f point)
public boolean contains(float px,
float py,
float pz)
public boolean contains(Point3f point)
public void combine(BodyInterface body)
public void combine(BodyInterface[] bos)
public void combine(float px,
float py,
float pz)
public void combine(Point3f point)
public void combine(Point3f[] points)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||