|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jmex.font3d.math.DoublyConnectedEdgeList<TriangulationVertex,TriangulationEdge>
com.jmex.font3d.math.Triangulator
public class Triangulator
Nested Class Summary | |
---|---|
(package private) class |
Triangulator.SweepLineComparer
Sort the edges according to their X-coordinate from the y coordinate of the sweepline. |
(package private) class |
Triangulator.SweepQueueComparator
Simple y-sorting |
(package private) class |
Triangulator.YMonotonePolygon
This class represents a monoton polygon with respect to the y-coordinate. |
Field Summary | |
---|---|
(package private) int |
polyids
|
Fields inherited from class com.jmex.font3d.math.DoublyConnectedEdgeList |
---|
edges, vertices |
Constructor Summary | |
---|---|
Triangulator()
|
Method Summary | |
---|---|
(package private) void |
addDiagonal(int src,
int dst)
|
TriangulationEdge |
createEdge(TriangulationVertex origin,
boolean real)
|
TriangulationVertex |
createVertex(int index,
Vector3f p)
|
java.util.ArrayList<TriangulationEdge> |
getEdges()
|
(package private) float |
getXAtY(TriangulationEdge edge,
float y)
|
java.nio.IntBuffer |
triangulate()
|
java.nio.IntBuffer |
triangulate(boolean cleanrun)
|
Methods inherited from class com.jmex.font3d.math.DoublyConnectedEdgeList |
---|
addEdge, addVertex, getVertices |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int polyids
Constructor Detail |
---|
public Triangulator()
Method Detail |
---|
float getXAtY(TriangulationEdge edge, float y)
public java.nio.IntBuffer triangulate(boolean cleanrun)
public java.nio.IntBuffer triangulate()
void addDiagonal(int src, int dst)
public TriangulationEdge createEdge(TriangulationVertex origin, boolean real)
createEdge
in class DoublyConnectedEdgeList<TriangulationVertex,TriangulationEdge>
public TriangulationVertex createVertex(int index, Vector3f p)
createVertex
in class DoublyConnectedEdgeList<TriangulationVertex,TriangulationEdge>
public java.util.ArrayList<TriangulationEdge> getEdges()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |