Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Determining if several points are within a polygon
- Date: Wed, 29 Aug 2007 15:04:46 +0200
I am running an application in which a polygon with holes gets divided into
two parts, and I have to determine which holes go to which side. This can be
done by checking if a point on the hole is within one of the halfs or
another.
However, doing so with CGAL::bounded_side for each point will probably take
me O(n^2) for all holes (provided that there can be n holes). Is there a way
to do one check for all the points at once, using CGAL? (which will take O(n))
Amir.
- Determining if several points are within a polygon, avaxman, 08/29/2007
- Re: [cgal-discuss] Determining if several points are within a polygon, Andreas Fabri, 08/29/2007
- Re: [cgal-discuss] Determining if several points are within a polygon, Efraim Fogel, 08/29/2007
- Re: [cgal-discuss] Determining if several points are within a polygon, Andreas Fabri, 08/29/2007
Archive powered by MHonArc 2.6.16.