Subject: CGAL users discussion list
List archive
- From: phdprav <>
- To:
- Subject: [cgal-discuss] Accessing vertices and simplex information
- Date: Tue, 6 Dec 2011 02:32:39 -0800 (PST)
Dear cgal community,
I am new to CGAL and this should hopefully be a rather simple question. I am
trying to obtain the vertices and corresponding simplex for a 3D surface
defined implicitely as a level set function. My starting point is the
example program mesh_an_implicit_function.cpp
I'd like to modify this program so that it outputs a file with a format
similar to the one shown below:
VERTEX // Coordinates of the vertices
1 0 1 // vertex 0
0 -1 0 // vertex 1
1 0 0 // vertex 2
1 0 -1
-1 0 0
0 1 0
SIMPLEX
0 1 2 // triangle 0 made up of vertex 0, 1, 2.
1 3 2
1 4 3
4 5 0
0 1 4
4 5 3
0 5 2
5 3 2
So basically all I want is to access the vertices, and to know which
vertices form which elements, of a given mesh generated by the example code
mesh_an_implicit_function.cpp. Any advice on how I should go about doing
this? Thank you.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Accessing-vertices-and-simplex-information-tp4164177p4164177.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Accessing vertices and simplex information, phdprav, 12/06/2011
- Re: [cgal-discuss] Accessing vertices and simplex information, Mariette Yvinec, 12/06/2011
Archive powered by MHonArc 2.6.16.