|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.spatial.bodies.ConvexHull
public abstract class ConvexHull
| Field Summary | |
|---|---|
protected Plane[] |
slabs
|
| Constructor Summary | |
|---|---|
ConvexHull(Plane[] theSlabs)
|
|
| Method Summary | |
|---|---|
void |
combine(Body body)
Combines this Body with a bounding object. |
void |
combine(Body[] 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 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)
contains in interface Bodypublic boolean contains(Point3f point)
contains in interface Bodypublic void combine(Body body)
combine in interface Bodypublic void combine(Body[] bos)
combine in interface Body
public void combine(float px,
float py,
float pz)
combine in interface Bodypublic void combine(Point3f point)
combine in interface Bodypublic void combine(Point3f[] points)
combine in interface Body
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||