Subject: CGAL users discussion list
List archive
- From: not3not4 <>
- To:
- Subject: [cgal-discuss] How can I insert the point with infor into Triangulation?
- Date: Thu, 10 Feb 2011 09:55:08 +0100 (CET)
I mean I have some points with different info and want to insert them into
triangulation, and Can I construct the points based on
Triangulation_vertex_base_with_info_3 and insert them into the triangulation?
like that:
typedef CGAL::Triangulation_vertex_base_with_info_3<UINT, K> Vb;
typedef CGAL::Triangulation_data_structure_3<Vb> Tds;
typedef CGAL::Delaunay_triangulation_3<K, Tds>
DelaunayT3;
typedef DelaunayT3::Point Point;
DelaunayT3 dt;
Point pt_0(0,0,0);
pt_0.info() = 103;
dt.insert(pt_0);
Point pt_1(1,1,2);
pt_1.infor() = 104;
dt.insert(pt_1);
.....
but the info() of Point does't work there, because it's not the member of
Point.
So what can I do for this?
//thanks
- [cgal-discuss] How can I insert the point with infor into Triangulation?, not3not4, 02/10/2011
- Re: [cgal-discuss] How can I insert the point with infor into Triangulation?, Sebastien Loriot (GeometryFactory), 02/10/2011
- Re: Re: [cgal-discuss] How can I insert the point with infor into Triangulation?, xianhai meng, 02/11/2011
- Re: [cgal-discuss] How can I insert the point with infor into Triangulation?, Sebastien Loriot (GeometryFactory), 02/11/2011
- Re: Re: [cgal-discuss] How can I insert the point with infor into Triangulation?, xianhai meng, 02/11/2011
- Re: [cgal-discuss] How can I insert the point with infor into Triangulation?, Sebastien Loriot (GeometryFactory), 02/10/2011
Archive powered by MHonArc 2.6.16.