Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to offset/inset a general polygon by a certain values?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to offset/inset a general polygon by a certain values?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] How to offset/inset a general polygon by a certain values?
  • Date: Thu, 23 Feb 2012 20:50:41 +0100

On 02/23/2012 07:58 PM, J_Young wrote:
Hi,

How can I offset or inset a General_polygon_2 by a fixed value offset?

The following functions only consider Polygon_2.

CGAL::create_interior_skeleton_and_offset_polygons_2
CGAL::create_exterior_skeleton_and_offset_polygons_2

The two first work. Their documentation pages are here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Straight_skeleton_2_ref/Function_create_interior_skeleton_and_offset_polygons_2.html
and there:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Straight_skeleton_2_ref/Function_create_exterior_skeleton_and_offset_polygons_2.html

You might want to have a look at this chapter which explain how to
get offsets with no sharp angles:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Minkowski_sum_2/Chapter_main.html

Sebastien.


CGAL::offset_polygon_2

Thanks a lot

Jay




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-offset-inset-a-general-polygon-by-a-certain-values-tp4414852p4414852.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.16.

Top of Page