The function create_interior_skeleton_and_offset_polygons_2 creates inner offset polygons directly from an input polygon via a temporarily created straight skeleton.
#include <CGAL/create_offset_polygons_2.h>
template<class FT, class Polygon, class HoleIterator, class OffsettingK, class SkeletonK> | ||||
std::vector< boost::shared_ptr<Polygon> > | ||||
| ||||
returns a container with all the inner offset polygons at distance offset of the 2D polygon with holes whose outer boundary is outer_boundary and its holes are given by [holes_begin,holes_end]. A temporary straight skeleton is constructed in the interior of the input polygon to obtain the offsets. The construction of this skeleton is the most expensive operation, therefore, to construct offsets at more than one single distance, use the separate functions create_interior_straight_skeleton_2 and create_offset_polygons_2 instead. | ||||
template<class FT, class Polygon, class OffsettingK, class SkeletonK> | ||||
std::vector< boost::shared_ptr<Polygon> > | ||||
| ||||
returns a container with all the inner offset polygons at distance offset of the 2D polygon poly. A temporary straight skeleton is constructed in the interior of the input polygon to obtain the offsets. The construction of this skeleton is the most expensive operation, therefore, to construct offsets at more than one single distance, use the separate functions create_interior_straight_skeleton_2 and create_offset_polygons_2 instead. |
#include <CGAL/create_offset_polygons_from_polygon_with_holes_2.h>
template<class FT, class OffsettingK, class SkeletonK> | ||||
std::vector< boost::shared_ptr< Polygon_2<OffsettingK> > > | ||||
| ||||
returns a container with all the inner offset polygons at distance offset of the 2D polygon with holes polywithholes. A temporary straight skeleton is constructed in the interior of the input polygon to obtain the offsets. The construction of this skeleton is the most expensive operation, therefore, to construct offsets at more than one single distance, use the separate functions create_interior_straight_skeleton_2 and create_offset_polygons_2 instead. | ||||
template<class FT, class OffsettingK, class SkeletonK> | ||||
std::vector< boost::shared_ptr< Polygon_with_holes_2<OffsettingK> > > | ||||
| ||||
returns a container with all the inner offset polygons with holes at distance offset of the 2D polygon poly. This is equivalent to arrange_offset_polygons_2(create_interior_skeleton_and_offset_polygons_2(offset,poly,okk,ssk)). | ||||
template<class FT, class OffsettingK, class SkeletonK> | ||||
std::vector< boost::shared_ptr< Polygon_with_holes_2<OffsettingK> > > | ||||
| ||||
returns a container with all the inner offset polygons with holes at distance offset of the 2D polygon with holes polywithholes. This is equivalent to arrange_offset_polygons_2(create_interior_skeleton_and_offset_polygons_2(offset,poly_with_holes,okk,ssk)). |