Tessellator is a project mainly written in Java, it's free.
Simple triangulation tool for awt/java geometry objects. Utilizes openGL's quick and accurate tessellation algorithms.
########### Tessellator ###########
Tessellator is a triangulation tool for Java aimed for those who wish to manipulate and play around with large datasets of complex geometrical shapes. Tessellator does not define its own geomety classes but tries instead to preserve the accessibility and extensibility that standard awt components offer. Tessellator also takes use of
JogAmp's <http://jogamp.org/>
cross-platform bindings to the
OpenGL Utility Library (GLU) <http://www.opengl.org/resources/faq/technical/glu.htm>
Download <https://github.com/anonomis/tessellator/archives/master>
_ or clone using git clone git://github.com/anonomis/tessellator.git
Download JOGL <http://code.google.com/p/processing/source/browse/trunk/processing/java/libraries/opengl/library/jogl.jar>
_ Download GlueGen <http://code.google.com/p/processing/source/browse/trunk/processing/java/libraries/opengl/library/gluegen-rt.jar>
_ all platforms here <http://code.google.com/p/processing/source/browse/trunk/processing#processing%2Fjava%2Flibraries%2Fopengl%2Flibrary%2Flinux64>
_So... you have a huge bunch of good ol' awt shapes of arbitrary form and want to manage them easier by breaking them up in small uniformed comparable pieces. This is what Tesselator does:
List<Triangle> triangles = new ArrayList<Triangle>();
for (Shape shape : shapeHeap) {
triangles.addAll(new Tessellator().getTriangles(anyShape, null));
}
And that's it.
So far... none... (For the sake of this software: Please prove me wrong!)
Have fun!