16#include "manifold/common.h"
34using SimplePolygonIdx = std::vector<PolyVert>;
35using PolygonsIdx = std::vector<SimplePolygonIdx>;
std::vector< ivec3 > Triangulate(const Polygons &polygons, double epsilon=-1)
Triangulates a set of ε-valid polygons. If the input is not ε-valid, the triangulation may overlap,...
Definition polygon.cpp:999
vec2 pos
X-Y position.
Definition polygon.h:29
int idx
ID or index into another vertex vector.
Definition polygon.h:31
std::vector< ivec3 > TriangulateIdx(const PolygonsIdx &polys, double epsilon=-1)
Triangulates a set of ε-valid polygons. If the input is not ε-valid, the triangulation may overlap,...
Definition polygon.cpp:950
std::vector< SimplePolygon > Polygons
Definition common.h:105