Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] consistent cell normals
- Date: Tue, 08 Jul 2008 11:42:00 +0200
dfwang wrote:
Dear CGALers
For a given closed triangle mesh, how to make sure that the normal of each triangle points to the inside of the closed surface in CGAL?
Any comments are appreciated.
Best wishes,
Vincent
Hi Vincent,
if the mesh is in a CGAL::Polyhedron already then the faces are
oriented consistently already, so determining inside/outside for
one face plus propagation should do the job.
If you just have a triangle soup (std::list<CGAL::Triangle_3<K>>)
then you first have to orient your triangles consistently.
There is no out-of the box function in CGAL. It would be a good idea
though.
andreas
- [cgal-discuss] Sphere-Line Intersection, Thomas Zangl - Home, 07/03/2008
- Re: [cgal-discuss] Sphere-Line Intersection, Pedro Machado Manhães de Castro, 07/03/2008
- Re:[cgal-discuss] Sphere-Line Intersection, Thomas Zangl - Home, 07/03/2008
- Re: [cgal-discuss] Sphere-Line Intersection, Pedro Machado Manhães de Castro, 07/03/2008
- Re:[cgal-discuss] Sphere-Line Intersection, Thomas Zangl - Home, 07/04/2008
- Re: [cgal-discuss] Sphere-Line Intersection, Eric Berberich, 07/04/2008
- [cgal-discuss] consistent cell normals, dfwang, 07/08/2008
- Re: [cgal-discuss] consistent cell normals, Andreas Fabri, 07/08/2008
- Re: [cgal-discuss] consistent cell normals, Rafael Roberto, 07/08/2008
- Re: [cgal-discuss] consistent cell normals, Andreas Fabri, 07/08/2008
- Re:[cgal-discuss] Sphere-Line Intersection, Thomas Zangl - Home, 07/04/2008
- Re: [cgal-discuss] Sphere-Line Intersection, Pedro Machado Manhães de Castro, 07/03/2008
- Re:[cgal-discuss] Sphere-Line Intersection, Thomas Zangl - Home, 07/03/2008
- Re: [cgal-discuss] Sphere-Line Intersection, Pedro Machado Manhães de Castro, 07/03/2008
Archive powered by MHonArc 2.6.16.