Subject: CGAL users discussion list
List archive
- From: "Santosh Tiwari" <>
- To: <>
- Subject: CGAL (need help writing the facets to a file)
- Date: Sat, 8 Mar 2008 21:29:08 -0500
- Organization: Clemson University
Hello,
I am learning to use CGAL.
I want to output the vertices of a list of Facets on the screen. How do I do
it?
Any help or references would be appreciated. Following is the code snippet,
I am using.
// examples/Alpha_shapes_3/example_big_alpha.C
typedef Alpha_shape_3::Facet Facet;
int main() {
Delaunay_hierarchy dt;
//some code
Alpha_shape_3 as(dt);
//some code
std::list<Facet> facets;
as.get_alpha_shape_facets(std::back_inserter(facets),
Alpha_shape_3::REGULAR);
std::cout << facets.size() << " boundary facets" << std::endl;
for(std::list<Facet>::const_iterator iter = facets.begin();
iter!=facets.end(); ++iter) {
//std::cout<<*iter;
}
I want to output all the vertices of the facet.
I could not find the definition of the Facet class.
Thanks a lot.
__
Santosh Tiwari
- CGAL (need help writing the facets to a file), Santosh Tiwari, 03/09/2008
- Re: [cgal-discuss] CGAL (need help writing the facets to a file), Manuel Caroli, 03/09/2008
- RE: [cgal-discuss] CGAL (need help writing the facets to a file), Santosh Tiwari, 03/09/2008
- RE: [cgal-discuss] CGAL (need help writing the facets to a file), Santosh Tiwari, 03/09/2008
- CGAL (Error message), Santosh Tiwari, 03/10/2008
- Re: [cgal-discuss] CGAL (need help writing the facets to a file), Andreas Fabri, 03/10/2008
- RE: [cgal-discuss] CGAL (need help writing the facets to a file), Santosh Tiwari, 03/13/2008
- CGAL (need suggestion for surface mesh refinement), Santosh Tiwari, 03/13/2008
- RE: [cgal-discuss] CGAL (need help writing the facets to a file), Santosh Tiwari, 03/09/2008
- RE: [cgal-discuss] CGAL (need help writing the facets to a file), Santosh Tiwari, 03/09/2008
- Re: [cgal-discuss] CGAL (need help writing the facets to a file), Manuel Caroli, 03/09/2008
Archive powered by MHonArc 2.6.16.