Crate tess2

Source
Expand description

Safe rust wrapper around the subset of libtess2 I personally need.

Your vertices are ordered clockwise when using the clipping functions.

Structs§

Triangles
Vertex

Functions§

fill
Fill tessellate a simple polygon path.
fill_difference
fill_intersection
Tessellates the intersection of the given simple polygon paths. To tessellate many, call this function again on the resulting triangles; may become expensive.
fill_union
Tessellates the union of the given simple polygon paths.