Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: Take the edges of a polyhedron
- Date: Tue, 06 Mar 2012 11:46:51 +0100
On 03/06/2012 11:38 AM, sgdimitris wrote:
I have one more very small question.
I read what you advised me, and I want to print the vertices of each edge
So, I have to write something like
"
for ( Edge_iterator w = poly.edges_begin(); w != poly.edges_end(); ++w)
std::cout<< "First Vertex of the edge">> w->.....<< "Second
Vertex of the edge">>
w->....>> std::endl;
See the picture at the top of the page:
w->vertex()->point() is the target vertex of the halfedge w
w->opposite()->vertex()->point() is the source vertex of the halfedge w
Sebastien.
"
My question is what I have to write in "....."
I would appreciate your answer, cause although I read the links I cannot
find the solution
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Take-the-edges-of-a-polyhedron-tp4449157p4449322.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Take the edges of a polyhedron, sgdimitris, 03/06/2012
- Re: [cgal-discuss] Take the edges of a polyhedron, Sebastien Loriot (GeometryFactory), 03/06/2012
- [cgal-discuss] Re: Take the edges of a polyhedron, sgdimitris, 03/06/2012
- [cgal-discuss] Re: Take the edges of a polyhedron, sgdimitris, 03/06/2012
- Re: [cgal-discuss] Re: Take the edges of a polyhedron, Sebastien Loriot (GeometryFactory), 03/06/2012
- [cgal-discuss] Re: Take the edges of a polyhedron, sgdimitris, 03/06/2012
- Re: [cgal-discuss] Re: Take the edges of a polyhedron, Sebastien Loriot (GeometryFactory), 03/06/2012
- [cgal-discuss] Re: Take the edges of a polyhedron, sgdimitris, 03/06/2012
- [cgal-discuss] Re: Take the edges of a polyhedron, sgdimitris, 03/06/2012
- Re: [cgal-discuss] Take the edges of a polyhedron, Sebastien Loriot (GeometryFactory), 03/06/2012
Archive powered by MHonArc 2.6.16.