Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Error in .h file : create_offset_polygons_from_polygon_with_holes_2.h

Subject: CGAL users discussion list

List archive

[cgal-discuss] Error in .h file : create_offset_polygons_from_polygon_with_holes_2.h


Chronological Thread 
  • From: "jim.wilenius" <>
  • To:
  • Subject: [cgal-discuss] Error in .h file : create_offset_polygons_from_polygon_with_holes_2.h
  • Date: Fri, 23 Oct 2009 00:22:30 -0700 (PDT)


Hi!

I was reading the manual and came across the following:
http://www.cgal.org/Manual/3.5/doc_html/cgal_manual/Straight_skeleton_2_ref/Function_create_exterior_skeleton_and_offset_polygons_2.html#Cross_link_anchor_1027

which is supposed to be a wrapper to make life easier when creating the
outer offset of a polygon.

Since I want to do exactly that with "polygons with holes" I followed the
instructions and included
<CGAL/create_offset_polygons_from_polygon_with_holes_2.h>, but it didn't
work.
So, I took a peek at the .h file... it just doesn't look right to me.
The create_interior... functions look right, but the create_exterior...
functions do not.

Aren't the create_exterior... functions supposed to take
Polygon_with_holes_2, and should not the call inside the function be to
create_exterior_skeleton_and_offset_polygons_2 as it says in the manual,
which also is consistent with the create_interior... functions.

anyway... someone that knows more about this than I should take a look. =)

It would truly be great if someone could verify, and if needed fix, this?

Cheers!
:-/



--
View this message in context:
http://www.nabble.com/Error-in-.h-file-%3A-create_offset_polygons_from_polygon_with_holes_2.h-tp26021906p26021906.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



  • [cgal-discuss] Error in .h file : create_offset_polygons_from_polygon_with_holes_2.h, jim.wilenius, 10/23/2009

Archive powered by MHonArc 2.6.16.

Top of Page