16 #ifndef vtkPolygonBuilder_h
17 #define vtkPolygonBuilder_h
19 #include "vtkCommonMiscModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
39 void InsertTriangle(
const vtkIdType* abc);
54 typedef std::pair<vtkIdType, vtkIdType> Edge;
55 typedef std::map<Edge, size_t> EdgeHistogram;
56 typedef std::multimap<vtkIdType, vtkIdType> EdgeMap;
57 typedef std::vector<vtkIdType> Triangle;
58 typedef std::vector<Triangle> Triangles;
59 typedef std::map<vtkIdType, Triangles> TriangleMap;
63 EdgeHistogram EdgeCounter;
The polygon output is the boundary of the union of the triangles.
maintain an ordered list of IdList objects