Subject: CGAL users discussion list
List archive
- From: Youssef ALJ <>
- To: <>
- Subject: [cgal-discuss] Access to vertices coordinates from an existing triangulation
- Date: Thu, 20 May 2010 14:46:52 +0200
- Importance: Normal
Hi all, I'd like to know if there's any possibility for a given triangulation to access to vertices' coordinates once this triangulation is constructed. Suppose we have the following code (from Geomview demo): #include <CGAL/Cartesian.h> #include <CGAL/Triangulation_euclidean_traits_xy_3.h> #include <CGAL/Delaunay_triangulation_2.h> #include <fstream> #include <iostream>
int main() Terrain T; std::ifstream iFile("data/points3", std::ios::in);return 0; }Then i'd like to access to vertices' coordinates. The purpose is to change the geometry of this triangulation (3D coordinates) without changing its connectivity (how faces rely on each other). I didn't find in Delaunay_triangulation_2 class any accessor to vertices. Could any body tell me how to do it? Any suggestion is helpful. Regards, Youssef ALJ Hotmail: Trusted email with Microsofts powerful SPAM protection. Sign up now. |
- [cgal-discuss] Access to vertices coordinates from an existing triangulation, Youssef ALJ, 05/20/2010
- Re: [cgal-discuss] Access to vertices coordinates from an existing triangulation, Sebastien Loriot (GeometryFactory), 05/20/2010
Archive powered by MHonArc 2.6.16.