com.jmex.font3d.math
Class TriangulationVertex
java.lang.Object
com.jmex.font3d.math.PlanarVertex
com.jmex.font3d.math.TriangulationVertex
public class TriangulationVertex
- extends PlanarVertex
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.
- Author:
- emanuel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
vert_type
TriangulationVertex.VertexType vert_type
is_left_chain
public boolean is_left_chain
TriangulationVertex
TriangulationVertex(int i,
Vector3f p)
yLessThan
boolean yLessThan(PlanarVertex vertex)
getType
TriangulationVertex.VertexType getType()
toString
public java.lang.String toString()
- Overrides:
toString
in class PlanarVertex
initializeType
public void initializeType()
checkAllEdges
public boolean checkAllEdges()
getOutGoingEdge
public TriangulationEdge getOutGoingEdge()
- This method returns the first and best real edge going out of this vertex, there should be only one before the triangulation.
- Returns:
getInGoingEdge
public TriangulationEdge getInGoingEdge()
- This method returns the first and best real edge going in to this vertex, there should be only one before the triangulation.
- Returns: