Skip to Content.
Sympa Menu

cgal-discuss - Polygon transformation

Subject: CGAL users discussion list

List archive

Polygon transformation


Chronological Thread 
  • From: Olivier Tournaire <>
  • To:
  • Subject: Polygon transformation
  • Date: Wed, 07 Mar 2007 16:39:21 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ocpGBe12xDenja1510vDHiDyP1k7/QibIdJLg+KURa44tHmsG03hTVRmPcdALx4od4Hwpf2H9Z2OhcPrhD4E/L5C2PXVUDQelwTUHrWPjgtga6V+366ViQYtsV+jtpMYt+il11s9+puEtYw7hJL41yCJtbSl5LA8kUKE8If8lmQ=

Hi,

I a m currently working with the polygon_2 class. I use them to delineate regions in image. However, I would like to know if there is a way with Aff_Tranformation_2 to do a job like this one :

1. My nodes have integer coordinates.
2. My regions' boundaries are thus delineating the outer bound of the regions, i.e. with pixellar coordinates

What I want to obtain is the regions' "true" boundaries, i.e. that each vertex of a polygon is between adjacents regions. This way, I will have overlaping edges between two neighbor regions. Is it possible with CGAL ? Maybe a kind of "polygon dilatation" of half a pixel ...

Thanks for your answers.

Olivier



Archive powered by MHonArc 2.6.16.

Top of Page