|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPolygon
| Nested Class Summary | |
|---|---|
static interface |
IPolygon.IEdge
|
static interface |
IPolygon.IEdgeMap
|
static interface |
IPolygon.IVertexList
|
| Method Summary | |
|---|---|
void |
deleteVertex(int vertex)
Deletes a specific vertex. |
IVector3 |
getNormal()
Returns the polygon normal. |
IVector3 |
getVertex(int vertex)
Returns a vertex. |
int |
getVertexCount()
Vertex count. |
void |
insertVertex(IVector3 vdata)
Inserts a vertex at the end of the polygon. |
void |
insertVertex(IVector3 vdata,
int vertexIndex)
Inserts a vertex at a specific position. |
boolean |
isPointInside(IVector3 point)
Determines if a point is inside the polygon. |
boolean |
operatorEqual(IPolygon rhs)
Determines if the current object is equal to the compared one. |
boolean |
operatorNotEqual(IPolygon rhs)
Determines if the current object is not equal to the compared one. |
void |
removeDuplicates()
Removes duplicate vertices from a polygon. |
void |
reset()
Resets the object. |
void |
setVertex(IVector3 vdata,
int vertexIndex)
Sets a specific vertex of a polygon. |
void |
storeEdges(IPolygon.IEdgeMap edgeMap)
Stores the edges of the polygon in ccw order. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void insertVertex(IVector3 vdata,
int vertexIndex)
void insertVertex(IVector3 vdata)
IVector3 getVertex(int vertex)
void setVertex(IVector3 vdata,
int vertexIndex)
void removeDuplicates()
int getVertexCount()
IVector3 getNormal()
void deleteVertex(int vertex)
boolean isPointInside(IVector3 point)
void storeEdges(IPolygon.IEdgeMap edgeMap)
void reset()
boolean operatorEqual(IPolygon rhs)
boolean operatorNotEqual(IPolygon rhs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||