Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] if a segment is inside apolygon?
- Date: Mon, 07 Feb 2011 08:16:44 +0100
sara123 wrote:
doese CGAL have afunction that indicates if a segment is inside apolygon?Nothing is doing it directly. However you can use oriented_side_2
on one endpoint
(http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Polygon_ref/Function_oriented_side_2.html#Cross_link_anchor_987)
and do_curves_intersect as in the example here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Sweep_line_2/Chapter_main.html
S.
- [cgal-discuss] if a segment is inside apolygon?, sara123, 02/04/2011
- Re: [cgal-discuss] if a segment is inside apolygon?, Sebastien Loriot (GeometryFactory), 02/07/2011
- <Possible follow-up(s)>
- [cgal-discuss] if a segment is inside apolygon?, sara123, 02/05/2011
Archive powered by MHonArc 2.6.16.