Kstars

Files | |
| dict-list.h | |
| dict.h | |
| geom.h | |
| glu.h | |
| gluos.h | |
| memalloc.h | |
| mesh.h | |
| normal.h | |
| priorityq-heap.h | |
| priorityq-sort.h | |
| priorityq.h | |
| render.h | |
| sweep.h | |
| tess.h | |
| tessellate.h | |
| tessmono.h | |
Detailed Description
Polygon tessellation is a major pain in the neck. Have you ever tried writing fast and robust code for it? libtess is, to my knowledge, the only GPL-compatible, liberally-licensed, high-quality polygon triangulator out there.
This repository includes a self-contained function (tessellate, in tessellate.c) that you can call to triangulate a polygon that is potentially self-intersecting, with holes, or with duplicate vertices. Simple examples of calling the tessellate function directly are located in main.c.
More interestingly, this repository also includes an Emscripten-compiled module, _tessellate.js, and a Javascript-friendly wrapper, in tessellate.js. Simple examples are available under index.html.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:02:41 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.