Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Are there any tags of Vertex_handle(Facet,Edge...)?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Are there any tags of Vertex_handle(Facet,Edge...)?


Chronological Thread 
  • From: Song Lin <>
  • To:
  • Subject: [cgal-discuss] Are there any tags of Vertex_handle(Facet,Edge...)?
  • Date: Wed, 21 Apr 2010 14:56:38 +0800

Hello everyone,

I want to mark some vertices(facets,edges...) of a triangulation, but I
don't know how.

part of my codes are:

list<Weighted_point> lwp;
Alpha_shape_3 as(lwp.begin(), lwp.end(), 0, Alpha_shape_3::GENERAL);
Alpha_shape_3::Finite_vertices_iterator vit;
for (vit = as.finite_vertices_begin(); vit !=
as.finite_vertices_end();vit++)
{
if(as.classify(vit,0)==Alpha_shape_3::REGULAR)
{
##### mark vit; #####
}
}

and then I want to do:

for(all vit)
{
if(vit was marked)
then(......)
}


Can anyone tell me how to mark a Vertex_handle(Facet,Edge...)? I read
the reference of triangulation but couldn't find a solution. Thanks.

Best regards,
Lin


--
Center of Computational and Systems Biology,
Institute of Biophysics, CAS.
15 Datun Road, Chaoyang District
Beijing, 100101
P.R.China





Archive powered by MHonArc 2.6.16.

Top of Page