Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] offset_polygon_2 upon offset_polygon_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] offset_polygon_2 upon offset_polygon_2


Chronological Thread 
  • From: Efi Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] offset_polygon_2 upon offset_polygon_2
  • Date: Wed, 3 Dec 2014 12:46:15 +0200

I'm afraid not.
The input is restricted to a "standard" polygon (or polygon with holes), which can be represented by a sequence (or sequences if it has holes) of points for example.
The output is what we call a generalized polygon (or a generalized polygon with wholes.) A generalized polygon must be represented by a sequence (or sequences if it has holes) of curves.
Computing the Minkowski sum or even the offset of a generalized polygon, I think, is much more complicated.


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



On Mon, Dec 1, 2014 at 10:42 PM, Lars Ole Belhage <> wrote:
Hello,

Running the many of the small test programs has convinced me of the
versatility and elegance of the CGAL.

Now, I'm trying to find a way to run the output of offset_polygon_2 into
another offset_polygon_2. But after browsing documentation, I'm getting
a little worried - can the "offset" algorithms work with polygons with
arcs (or splines) in them ?

If "yes", I will dig deeper and get the right traits to my data (but an
simple extension of the the Minkowski_sum_2/exact_offset.cpp to do the
sum several times, would of course be of great help)

If "no", well...

Great Salutions
Belhage



--
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