kunickyd ebef13bbac add QField 1.10.0 3 년 전
..
.gitignore ebef13bbac add QField 1.10.0 3 년 전
CMakeLists.txt ebef13bbac add QField 1.10.0 3 년 전
LICENSE ebef13bbac add QField 1.10.0 3 년 전
README.md ebef13bbac add QField 1.10.0 3 년 전
dict-list.h ebef13bbac add QField 1.10.0 3 년 전
dict.c ebef13bbac add QField 1.10.0 3 년 전
dict.h ebef13bbac add QField 1.10.0 3 년 전
geom.c ebef13bbac add QField 1.10.0 3 년 전
geom.h ebef13bbac add QField 1.10.0 3 년 전
glu.h ebef13bbac add QField 1.10.0 3 년 전
gluos.h ebef13bbac add QField 1.10.0 3 년 전
main.c ebef13bbac add QField 1.10.0 3 년 전
memalloc.c ebef13bbac add QField 1.10.0 3 년 전
memalloc.h ebef13bbac add QField 1.10.0 3 년 전
mesh.c ebef13bbac add QField 1.10.0 3 년 전
mesh.h ebef13bbac add QField 1.10.0 3 년 전
normal.c ebef13bbac add QField 1.10.0 3 년 전
normal.h ebef13bbac add QField 1.10.0 3 년 전
priorityq-heap.c ebef13bbac add QField 1.10.0 3 년 전
priorityq-heap.h ebef13bbac add QField 1.10.0 3 년 전
priorityq-sort.h ebef13bbac add QField 1.10.0 3 년 전
priorityq.c ebef13bbac add QField 1.10.0 3 년 전
priorityq.h ebef13bbac add QField 1.10.0 3 년 전
render.c ebef13bbac add QField 1.10.0 3 년 전
render.h ebef13bbac add QField 1.10.0 3 년 전
sweep.c ebef13bbac add QField 1.10.0 3 년 전
sweep.h ebef13bbac add QField 1.10.0 3 년 전
tess.c ebef13bbac add QField 1.10.0 3 년 전
tess.h ebef13bbac add QField 1.10.0 3 년 전
tessellate.c ebef13bbac add QField 1.10.0 3 년 전
tessellate.h ebef13bbac add QField 1.10.0 3 년 전
tessellate.pro ebef13bbac add QField 1.10.0 3 년 전
tessmono.c ebef13bbac add QField 1.10.0 3 년 전
tessmono.h ebef13bbac add QField 1.10.0 3 년 전

README.md

A minimal, self-contained port of SGI's GLU libtess

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.