|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.nexttext.renderer.util.PlanarVertex net.nexttext.renderer.util.TriangulationVertex
public class TriangulationVertex
Used to do a triangulation of a complex polygon. Please note that you should make sure all of these vertices are two-manifold, if they are not the triangulation will fail with nullpointers.
Nested Class Summary | |
---|---|
static class |
TriangulationVertex.VertexType
Vertex type enumeration. |
Field Summary | |
---|---|
boolean |
is_left_chain
|
Method Summary | |
---|---|
boolean |
checkAllEdges()
Check if all edges are ok. |
TriangulationEdge |
getInGoingEdge()
This method returns the first and best real edge going in to this vertex, there should be only one before the triangulation. |
TriangulationEdge |
getOutGoingEdge()
This method returns the first and best real edge going out of this vertex, there should be only one before the triangulation. |
void |
initializeType()
Initialize vertex type. |
java.lang.String |
toString()
|
Methods inherited from class net.nexttext.renderer.util.PlanarVertex |
---|
getIndex, getPoint, printEdges |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean is_left_chain
Method Detail |
---|
public java.lang.String toString()
toString
in class PlanarVertex
public void initializeType()
public boolean checkAllEdges()
public TriangulationEdge getOutGoingEdge()
public TriangulationEdge getInGoingEdge()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |