Subject: CGAL users discussion list
List archive
[cgal-discuss] How to get the weight of a Regular_triangulation_3::vertex_handle?
Chronological Thread
- From: Song Lin <>
- To:
- Subject: [cgal-discuss] How to get the weight of a Regular_triangulation_3::vertex_handle?
- Date: Thu, 06 May 2010 15:45:40 +0800
Hi,
I have build a Regular_triangulation_3 based on the example
"examples/Triangulation_3/regular_3.cpp":
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Regular_triangulation_euclidean_traits_3<K> Traits;
typedef Traits::RT Weight;
typedef Traits::Bare_point Point;
typedef Traits::Weighted_point Weighted_point;
typedef CGAL::Regular_triangulation_3<Traits> Rt;
typedef Rt::Vertex_iterator Vertex_iterator;
typedef Rt::Vertex_handle Vertex_handle;
For a Vertex_handle, I can get Vertex_handle->point(), but don't know
how to get "Vertex_handle->weight()". Anyone can help me about this?
Or, is there any "weight" information in "Rt::Vertex_handle"?
Best regards,
Lin
--
Center of Computational and Systems Biology,
Institute of Biophysics, CAS.
15 Datun Road, Chaoyang District
Beijing, 100101
P.R.China
- [cgal-discuss] How to get the weight of a Regular_triangulation_3::vertex_handle?, Song Lin, 05/06/2010
- Re: [cgal-discuss] How to get the weight of a Regular_triangulation_3::vertex_handle?, Sebastien Loriot (GeometryFactory), 05/06/2010
- Re: [cgal-discuss] How to get the weight of a Regular_triangulation_3::vertex_handle?, Song Lin, 05/06/2010
- Re: [cgal-discuss] How to get the weight of a Regular_triangulation_3::vertex_handle?, Sebastien Loriot (GeometryFactory), 05/06/2010
Archive powered by MHonArc 2.6.16.