A model of the PolygonConvexDecomposition_2 concept is capable of decomposing an input polygon P into a set of convex sub-polygons P1, , Pk, such that ∪ i=1kPk = P.
PolygonConvexDecomposition_2 decomp; | |
default constructor.
|
template <class OutputIterator> | ||
OutputIterator | decomp ( Polygon_2 P , OutputIterator oi ) const | |
decomposes the input polygon P into convex sub-polygons, and writes them to the output iterator oi. The value-type of the output iterator must be Polygon_2. The function returns a past-the-end iterator for the convex sub-polygons. |
Small_side_angle_bisector_decomposition_2<Kernel,Container>
Optimal_convex_decomposition_2<Kernel,Container>
Hertel_Mehlhorn_convex_decomposition_2<Kernel,Container>
Greene_convex_decomposition_2<Kernel,Container>