Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polygon erosion

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polygon erosion


Chronological Thread 
  • From: Kien Kieu <>
  • To:
  • Subject: Re: [cgal-discuss] Polygon erosion
  • Date: Sun, 07 Feb 2010 12:59:11 +0100

By the complement, I mean the region of the plane outside the polygon.

As noticed by Andreas, you can use directly inset_polygon_2.

Asher Kamiraze
<>
a écrit :

Thanks for all your answers. Since I need a coarse approximation of the
erosion, your propositions seem great.
A few questions:

1) Fernando, you point the Straight Skeleton and Polygon Offseting package.
It seems to fit my needs. Is it equivalent to an erosion with a circular
structuring element?
2) Eric, you suggest to compute an inset. Is it also equivalent to an
erosion with a circular structuring element?
3) Kiên, could you explain what is the complement of a polygon?

Best,

Asher

2010/2/5 Kien Kieu
<>

I have never practiced dilatation or erosion with CGAL. But here is a
suggestion: you could first compute the complement of your polygon and then
dilate the complement.

Asher Kamiraze
<>
a écrit :

Dear list,

I want to erode a polygon with a polygonal structuring element. I had a
look
at the 2D Minkowski sums package, but it seems to only provide dilatation.
Is there a way to erode a polygon with CGAL ?

Best,

Asher

--

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





--
Kiên Kiêu tel : + 33 (0)1 34 65 28 16
Unité MIA, INRA fax : + 33 (0)1 34 65 22 17
Domaine de Vilvert email:

F-78352 Jouy-en-Josas Cedex url : http://www.jouy.inra.fr/mia


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



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





--
Kiên Kiêu tel : + 33 (0)1 34 65 28 16
Unité MIA, INRA fax : + 33 (0)1 34 65 22 17
Domaine de Vilvert email:

F-78352 Jouy-en-Josas Cedex url : http://www.jouy.inra.fr/mia



Archive powered by MHonArc 2.6.16.

Top of Page