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 Feb 21 2025 11:54:30 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.