Subject: CGAL users discussion list
List archive
- From: <>
- To:
- Subject: Re: Re: [cgal-discuss] Triangulation problem
- Date: Thu, 16 Jul 2009 21:00:55 +0200 (CEST)
well, still no luck here... I tried your function >
int faceIndex = 0;
for (Triangulation::Finite_facets_iterator fit = T.finite_facets_begin();
fit != T.finite_facets_end(); ++fit)
{
K::Triangle_3 triangle = T.triangle(*fit);
int index = Triangulation::vertex_triple_index(faceIndex, 0);
Point vertex = triangle.vertex(index);
triangles.push_back(Vec3(vertex.x(), vertex.y(), vertex.z()));
index = Triangulation::vertex_triple_index(faceIndex, 1);
vertex = triangle.vertex(index);
triangles.push_back(Vec3(vertex.x(), vertex.y(), vertex.z()));
index = Triangulation::vertex_triple_index(faceIndex, 2);
vertex = triangle.vertex(index);
triangles.push_back(Vec3(vertex.x(), vertex.y(), vertex.z()));
faceIndex++;
}
but now result is that first set of points is ccw and second cw. I dont get
it,
both of my input point sets are cw, why do i get ccw triangles for first set
and cw for second set?
- [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.