Subject: CGAL users discussion list
List archive
- From: Zohar <>
- To:
- Subject: [cgal-discuss] Re: How to calculate area of difference of two polygons?
- Date: Sun, 18 Mar 2012 00:58:09 -0700 (PDT)
You should have for each curve a begin() and end() to iterate the points.
These points you can insert to a new polygon and call the area function.
Post a full test program for further help.
Alternatively you can intersect the two polygons with arrangement_2, and for
each cell in the arrangement check if it is inside or outside each poly, and
do you bool operation accordingly.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-calculate-area-of-difference-of-two-polygons-tp4466197p4481788.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] How to calculate area of difference of two polygons?, Mikhail Matrosov, 03/12/2012
- [cgal-discuss] Re: How to calculate area of difference of two polygons?, Zohar, 03/18/2012
Archive powered by MHonArc 2.6.16.