subdivides and rounds a range of polygons so that their boundary segments are pairwise disjoint in their interiors.
If the input polygons are disjoint, the output polygons remain non-overlapping, although they may share vertices or edges. Each output polygon is free of self-intersections but may present pinched sections.
subdivides and rounds a range of segments so that they are pairwise disjoint in their interiors.
By default, each polyline of the output corresponds to an input segment. Consequently, duplicate segments may appear in the output, for instance when multiple input segments collapse. When the parameter output_unique_segments is set to true, the polylines are decomposed into individual segments (represented as polylines with two points), and duplicates are removed.
model of the concept ConstRange whose iterator is model of ForwardIterator and whose value_type is geom_traits::Segment_2, where the type of geom_traits is detailed by np::geom_traits.
If set to true, the output polylines are unique pairs of distinct points represented a segment. As a result, the total number of output polylines may differ from the number of input segments.
must be an iterator with value type Traits::Segment_2.
OutputContainer
must be a container with a method push_back(const OutputContainer::value_type& c), where OutputContainer::value_type must be a container with a method push_back(const Traits::Point_2& p)
Parameters
begin,end
denote the iterator range of the input segments.
output_container
is a reference to a container of the output polylines. Since a polyline is composed of a sequence of points, a polyline is a container itself.
pixel_size
denotes the pixel size w. The plane will be tiled with square pixels of width w such that the origin is the center of a pixel. pixel_size must have a positive value.
do_isr
determines whether to apply ISR or SR.
int_output
If set to true, the output coordinates are expressed in the integer grid (pixel indices). Otherwise, they are given in the input coordinate system.
number_of_kd_trees
The seventh parameter is briefly described later on this page; for a detailed description see [3].