Subject: CGAL users discussion list
List archive
- From: Manuel Caroli <>
- To:
- Subject: Re: [cgal-discuss] How to extract edges of a mesh
- Date: Wed, 12 Aug 2009 17:39:42 +0200
Dear Morteza,
Morteza Romoozi wrote:
Hithere is a small typo:
tanx for source code, but i could not run it.
i get som error such as ero in handle.h and
'finite_edges' : is not a member of 'CGAL::Constrained_Delaunay_triangulation_2<Gt>'
with
[
Gt=K
]
i'm useing CGAL 3.1.
Please help me again.
tanx
> [...]
/******* you can access the coordinates of edges like thisthis line is supposed to go
*******************************/
typedef CDT::Finite_edges_iterator FEit; typedef CDT::Edge Edge;
for
(FEit eit= cdt.finite_edges_begin(); eit!= cdt.finite_edges.end(); eit++
)
(FEit eit= cdt.finite_edges_begin(); eit!= cdt.finite_edges_end(); eit++ )
{> [...]
Edge e= *eit;
Point s= e.first->vertex((e.second+1)%3)->point(),
t= e.first->vertex((e.second+2)%3)->point();
std::cout<<"s="<<s<<std::endl
<<"t="<<t<<std::endl;
}
/********************************************************************/
best
Manuel
- [cgal-discuss] How to extract edges of a mesh, Morteza Romoozi, 08/02/2009
- [cgal-discuss] , sedigheh mahdavi, 08/02/2009
- RE: [cgal-discuss] , Amir Vaxman, 08/02/2009
- Re:[cgal-discuss] How to extract edges of a mesh, sanlington, 08/03/2009
- Re:[cgal-discuss] How to extract edges of a mesh, Morteza Romoozi, 08/12/2009
- Re: [cgal-discuss] How to extract edges of a mesh, Manuel Caroli, 08/12/2009
- Re:[cgal-discuss] How to extract edges of a mesh, Morteza Romoozi, 08/12/2009
- [cgal-discuss] , sedigheh mahdavi, 08/02/2009
Archive powered by MHonArc 2.6.16.