Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: Cannot access to Polygon_2 points
- Date: Fri, 11 May 2007 03:04:00 +0200
Ok i have founded the Vertex_iterator to access the vertex of the Polygon
Vertex_iterator vertit;
vertit = polygon.vertices_begin ();
double x1 = vertit->x();
double x2 = vertit->y();
but the manual say into Polygon_2
Point_2 pgn [ int i] Returns a (const) reference to the
i-th vertex.
so i don' t find any error on using
debug = polygon[0]
- Cannot access to Polygon_2 points, asmprog32, 05/11/2007
- <Possible follow-up(s)>
- Re: Cannot access to Polygon_2 points, asmprog32, 05/11/2007
- Re: [cgal-discuss] Re: Cannot access to Polygon_2 points, Laurent Rineau, 05/11/2007
Archive powered by MHonArc 2.6.16.