Subject: CGAL users discussion list
List archive
- From: Mariette Yvinec <>
- To:
- Subject: Re: [cgal-discuss] optimal_convex_partition_2 for polygons with holes?
- Date: Fri, 09 Feb 2007 13:57:43 +0100
Mariette Yvinec wrote:
Johan Van den Neste wrote:
It doesn't look like it is in the library, but how would I go aboutlook at Partition_2 package
producing a similar result? (doesn't need to be optimal)
thanks,
In fact Partition_2 will not solve your problem because it does not handle
polygons with holes.
You can solve your problem using a Constrained_Delaunay_triangulation_2.
Input the boundaries of your input polygons in a Constrained_Delaunay_triangulation_2.
Then visit all the triangulation edges and mark the edges that are not constrained edges
and can be discarded without giving reflex vertices in region of interest.
The remaining edges give you a convex decomposition with at most twice the optimal
number of parts.
- optimal_convex_partition_2 for polygons with holes?, Johan Van den Neste, 02/08/2007
- Re: [cgal-discuss] optimal_convex_partition_2 for polygons with holes?, Mariette Yvinec, 02/08/2007
- Re: [cgal-discuss] optimal_convex_partition_2 for polygons with holes?, Mariette Yvinec, 02/09/2007
- Re: [cgal-discuss] optimal_convex_partition_2 for polygons with holes?, Johan Van den Neste, 02/09/2007
- Re: [cgal-discuss] optimal_convex_partition_2 for polygons with holes?, Johan Van den Neste, 02/09/2007
- Re: [cgal-discuss] optimal_convex_partition_2 for polygons with holes?, Mariette Yvinec, 02/09/2007
- Re: [cgal-discuss] optimal_convex_partition_2 for polygons with holes?, Mariette Yvinec, 02/08/2007
Archive powered by MHonArc 2.6.16.