|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConvexBody
| Nested Class Summary | |
|---|---|
static interface |
IConvexBody.IPolygonList
|
| Method Summary | |
|---|---|
void |
clip(IAxisAlignedBox aab)
Clips the body with an AAB. |
void |
clip(IConvexBody body)
Clips the body with another body. |
void |
clip(IFrustum frustum)
Clips the body with a frustum. |
void |
clip(IPlane pl,
boolean keepNegative)
Clips the object by the positive half space of a plane |
void |
define(IAxisAlignedBox aab)
Build a new polygon representation from an AAB. |
void |
define(IFrustum frustum)
Build a new polygon representation from a frustum. |
void |
extend(IVector3 pt)
Extends the existing body to incorporate the passed in point as a convex hull. |
void |
getAABB(IAxisAlignedBox returnValue)
Returns an AABB representation. |
IVector3 |
getNormal(int poly)
Returns the normal of a specified polygon. |
IPolygon |
getPolygon(int poly)
Returns a polygon. |
int |
getPolygonCount()
Returns the current number of polygons. |
IVector3 |
getVertex(int poly,
int vertex)
Returns a specific vertex of a polygon. |
int |
getVertexCount(int poly)
Returns the number of vertices for a polygon |
boolean |
hasClosedHull()
Checks if the body has a closed hull. |
void |
logInfo()
details of this body |
void |
mergePolygons()
Merges all neighboring polygons into one single polygon if they are lay in the same plane. |
boolean |
operatorEqual(IConvexBody rhs)
Determines if the current object is equal to the compared one. |
boolean |
operatorNotEqual(IConvexBody rhs)
Determines if the current object is not equal to the compared one. |
void |
reset()
Resets the object. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void define(IFrustum frustum)
void define(IAxisAlignedBox aab)
void clip(IFrustum frustum)
void clip(IAxisAlignedBox aab)
void clip(IConvexBody body)
void clip(IPlane pl,
boolean keepNegative)
void extend(IVector3 pt)
void reset()
int getPolygonCount()
int getVertexCount(int poly)
IPolygon getPolygon(int poly)
IVector3 getVertex(int poly,
int vertex)
IVector3 getNormal(int poly)
void getAABB(IAxisAlignedBox returnValue)
boolean hasClosedHull()
void mergePolygons()
boolean operatorEqual(IConvexBody rhs)
boolean operatorNotEqual(IConvexBody rhs)
void logInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||