Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] polyhedron is_valid

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] polyhedron is_valid


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] polyhedron is_valid
  • Date: Fri, 02 Nov 2012 00:10:11 +0100
  • Organization: GeometryFactory

On 11/01/2012 03:41 PM, drrk wrote:
I am reading a mesh that contains polygonal data. The mesh loads fine in
various software such as MeshLab but when I call the is_valid() function of
Polyhedron_3<Kernel> where Kernel is Cartesian<double> it returns false.

What criteria have to be satisfied before is_valid( ) accepts a mesh to be
valid.

If you simply call is_valid() with no argument, it checks only if the combinatorial structure is a valid (that is the embedding is not checked).

You have an error when the data you have is not manifold (3 facets incident to the same edge...)

If you call is_valid(true), you might get hints on the nature of the
problem.

Sebastien.

RK



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/polyhedron-is-valid-tp4656124.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page