CGAL 4.8.1 - 2D Minkowski Sums
|
#include <CGAL/Small_side_angle_bisector_decomposition_2.h>
The Small_side_angle_bisector_decomposition_2
class implements a simple yet efficient heuristic for decomposing an input polygon into convex sub-polygons. It is based on the algorithm suggested by Flato and Halperin [4], but without introducing Steiner points. The algorithm operates in two major steps. In the first step, it tries to subdivide the polygon by connect two reflex vertices with an edge. When this is not possible any more, it eliminates the reflex vertices one by one by connecting them to other convex vertices, such that the new edge best approximates the angle bisector of the reflex vertex. The algorithm operates in \( O(n^2)\) time and takes \( O(n)\) space at the worst case, where \( n\) is the size of the input polygon.