Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL determine which direction a facet is pointing to

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL determine which direction a facet is pointing to


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL determine which direction a facet is pointing to
  • Date: Thu, 29 Jul 2010 08:18:37 +0200

mparusinski wrote:
Hello to everyone

I am using CGAL to perform a triangulation of a inr file, i.e. I am
performing a 3d mesh generation. Afterwards I need to process the mesh. One
of the things I want to do is to compute normals to the facets (Triangles)
then use these normals to see in which direction is each facets facing (up,
down, front, back, left and right). Is there a tool in CGAL to determine in
which direction the facet is pointing to? I attached a link to a screenshot
of a mesh file I have obtained to illustrate the problem. Some of the facets
are hard to tell on which side they are on. Can smoothing help?

http://img175.imageshack.us/i/examplef.png
Sincerely yours

Michal Parusinski

Try this:

CGAL::normal

http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Kernel_23_ref/Function_normal.html#Cross_link_anchor_442

S.



Archive powered by MHonArc 2.6.16.

Top of Page