mirror of https://github.com/CGAL/cgal
update doc
This commit is contained in:
parent
ccb0db385b
commit
fd36330d2a
|
|
@ -38,9 +38,13 @@ create_interior_skeleton_and_offset_polygons_with_holes_2(FT offset,
|
|||
\ingroup PkgStraightSkeleton2OffsetFunctions
|
||||
|
||||
returns a container with all the outer offset polygons <I>with holes</I>
|
||||
at distance `offset` of the 2D polygon `poly_with_holes`.
|
||||
at distance `offset` of the 2D polygon `poly_with_holes`. Note that the
|
||||
offset of the outer frame is ignored.
|
||||
|
||||
This is equivalent to `arrange_offset_polygons_2(create_exterior_skeleton_and_offset_polygons_2(offset, poly_with_holes, ofk, ssk))`.
|
||||
This is equivalent to a call to `CGAL::arrange_offset_polygons_2()` on the
|
||||
output of \link CGAL::create_exterior_skeleton_and_offset_polygons_2() `create_exterior_skeleton_and_offset_polygons_2(offset, poly_with_holes, ofk, ssk))` \endlink
|
||||
after having filtered out the polygon corresponding to the offset of the outer frame and
|
||||
having reversed the orientation of all other polygons.
|
||||
|
||||
\tparam OfK must be a model of `Kernel`. It is used to instantiate
|
||||
`Polygon_offset_builder_traits_2<OfK>` for constructing the offset polygons.
|
||||
|
|
|
|||
|
|
@ -422,11 +422,15 @@ This \cgal packages provides a helper function to compute the required separatio
|
|||
|
||||
If you use this function to place the outer frame you are guaranteed to obtain an offset contour corresponding exclusively to the frame, which you can always identify as the one with the largest area and which you can simple remove from the result (to keep just the relevant outer contours).
|
||||
|
||||
|
||||
\cgalFigureBegin{Exterior,exterior_skeleton.png,exterior_offset.png}
|
||||
Exterior skeleton obtained using a frame (left) and 2 sample exterior offset contours (right)
|
||||
\cgalFigureEnd
|
||||
|
||||
For convenience, the following functions are provided:
|
||||
|
||||
- `CGAL::create_exterior_skeleton_and_offset_polygons_2()` adds the outer frame to the input polygon (with or without holes) and provides output offset polygons (`CGAL::Polygon_2<K>`), including the offset of the outer frame.
|
||||
- `CGAL::create_exterior_skeleton_and_offset_polygons_with_holes_2()` adds the outer frame to the input polygon (with or without holes) and provides as output offset polygons with holes (`CGAL::Polygon_with_holes_2`), exclusing the offset of the outer frame.
|
||||
|
||||
\section Straight_skeleton_2Straight Straight Skeletons, Medial Axis and Voronoi Diagrams
|
||||
|
||||
The straight skeleton of a polygon is similar to the medial
|
||||
|
|
|
|||
Loading…
Reference in New Issue