Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] A Simple question about typedef Gps_trait_2::Polygon_with_holes_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] A Simple question about typedef Gps_trait_2::Polygon_with_holes_2


Chronological Thread 
  • From: Efi Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] A Simple question about typedef Gps_trait_2::Polygon_with_holes_2
  • Date: Wed, 9 Jul 2014 11:02:30 +0300

I believe that computing the approximation of the offset of the given polygon using approximated_offset_2() is not supported for polygons with holes.

   ____  _        ____             _
  /_____/_) o    /__________  __  //
 (____ (   (    (    (_/ (_/-(-'_(/
                         _/




On Mon, Jul 7, 2014 at 7:23 PM, BenChen <> wrote:
Hi all,

I am a new undergraduate student to use CGAL and I am not familiar with the
STL. So it will be difficult to understand some CGAL code.

Currently, I use function approximated_offset_2 to approximately offset a
polygon. However, my question is how can I get each vertice's coordinate of
outer_boundary of the resulting polygon with holes and how can I remove all
holes in this polygon.


My question is quite simple.  I really appreciate your help as I feel
difficult to continue further study on CGAL.



--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/A-Simple-question-about-typedef-Gps-trait-2-Polygon-with-holes-2-tp4659530.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page