Subject: CGAL users discussion list
List archive
- From: <>
- To:
- Subject: Re: Re: [cgal-discuss] Triangulation problem
- Date: Thu, 16 Jul 2009 23:15:50 +0200 (CEST)
still nothing... I rewrite it along Your advices >
for (Triangulation::Finite_facets_iterator fit = T.finite_facets_begin(); fit
!= T.finite_facets_end(); ++fit)
{
Cell_handle cell = fit->first;
Point point1 =
cell->vertex(Triangulation::vertex_triple_index(fit->second, 2))->point();
Point point2 =
cell->vertex(Triangulation::vertex_triple_index(fit->second, 1))->point();
Point point3 =
cell->vertex(Triangulation::vertex_triple_index(fit->second, 0))->point();
triangles.push_back(Vec3(point1.x(), point1.y(), point1.z()));
triangles.push_back(Vec3(point2.x(), point2.y(), point2.z()));
triangles.push_back(Vec3(point3.x(), point3.y(), point3.z()));
}
I hope this code makes sense. It still works for one, and dont for other one.
I
spent some time in manual, but I cant find anything useful for me. I believe
what Im trying to do is basic operation for everyone who wants to render
result
of CGAL triangulation, so there must be somebody with solution for me ;-)
- [cgal-discuss] Triangulation problem, icek, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Andreas Fabri, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Damian Sheehy, 07/16/2009
- Re: Re: [cgal-discuss] Triangulation problem, icek, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Andreas Fabri, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Ariel Baez, 07/16/2009
- Re: Re: [cgal-discuss] Triangulation problem, icek, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Andreas Fabri, 07/16/2009
- Re: Re: [cgal-discuss] Triangulation problem, icek, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Andreas Fabri, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Damian Sheehy, 07/17/2009
- Re: Re: [cgal-discuss] Triangulation problem, icek, 07/17/2009
- Re: Re: [cgal-discuss] Triangulation problem, icek, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Andreas Fabri, 07/16/2009
- Re: [cgal-discuss] Triangulation problem, Andreas Fabri, 07/16/2009
- Re: Re: [cgal-discuss] Triangulation problem, icek, 07/16/2009
Archive powered by MHonArc 2.6.16.