Subject: CGAL users discussion list
List archive
- From: Jonas Schild <>
- To:
- Subject: Normal generation out of 3d alpha shapes
- Date: Fri, 16 May 2008 19:40:27 +0200
Hi all,
I have the following problem:
I'm constructing a 3d alpha shape from a set of points using CGAL. After creation of the alpha shape, I'm iterating over all facets to extract the triangles. But:
The orientation of the normal (either by using cross product or using CGAL's ortho_vector(point, point, point) of which results are the same) is partially wrong. I've read that the orientation of the triangle is based on orientation of the cell (i.e. pointing into the cell). However, I'm not able to retrieve the normals pointing outside the alpha shape. Part of the problem is, that for certain alpha values, the constructed shape is no solid object. Is it possible to iterate only over alphas where the shape is solid, not necessarily convex?
Furthermore, I don't understand how ccw(int) on the triangulation structure is supposed to work regarding finding the correct orientation thus the normals are pointing outside the volume.
Hopefully someone could give me a hint or two ;)
Thanks in advance
Jonas
- Normal generation out of 3d alpha shapes, Jonas Schild, 05/16/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Andreas Fabri, 05/16/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Monique . Teillaud, 05/18/2008
- RE: [cgal-discuss] Normal generation out of 3d alpha shapes, Santosh Tiwari, 05/18/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Jonas Schild, 05/20/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Santosh Tiwari, 05/20/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Jonas Schild, 05/21/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Santosh Tiwari, 05/20/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Jonas Schild, 05/20/2008
- RE: [cgal-discuss] Normal generation out of 3d alpha shapes, Santosh Tiwari, 05/18/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Monique . Teillaud, 05/18/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Monique . Teillaud, 05/18/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Jonas Schild, 05/20/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Mariette Yvinec, 05/20/2008
- Re: [cgal-discuss] Normal generation out of 3d alpha shapes, Andreas Fabri, 05/16/2008
Archive powered by MHonArc 2.6.16.