Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] unepxected facet normal value

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] unepxected facet normal value


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] unepxected facet normal value
  • Date: Sat, 25 Oct 2008 22:36:05 +0200

Hi Samuel,

Note that the Polyhedron class doesn't compute the plane equations,
but only provides storage for them.

See
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Polyhedron/Chapter_main.html#Subsection_12.3.4

Best regards,

andreas


samuel kim wrote:
Hell all,

I want to know how to remove this unexpected case. When get a facet normal
vector from Halfedge, occasionally, some normal vectors returns -1.#IND00.
Is this meaning that no nomal vector is on the facet? If so, what is the
condition to avoid the facet that has no normal vector? Thank you.

Example)
Vector Norm = pHalfEdge->facet()->normal();
Norm[0] = -1.#IND00
Norm[1] = -1.#IND00
Norm[2] = -1.#IND00

Samuel





Archive powered by MHonArc 2.6.16.

Top of Page