Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Intersection failed on Nef_polyhedron_3, CGAL 3.4

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Intersection failed on Nef_polyhedron_3, CGAL 3.4


Chronological Thread 
  • From: Joe C <>
  • To:
  • Cc:
  • Subject: Re: [cgal-discuss] Re: Intersection failed on Nef_polyhedron_3, CGAL 3.4
  • Date: Tue, 5 Jan 2010 10:30:06 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jEI1jYChRZOs4egbvdpOqHX6TWNU9xTxLphh+TVqqufqreh3qi5ZUbgp+uOi+2EIgN GCIldGF0drcWEz5f9LaJlhQTanHCe9UC7yP6cKXog/V7EVDz548N6EcVZEpaYd3UWDOy I1PIdg2LVNqsf+2N0uTj8MKZLaaHVg9i2En3s=


But before I output the polyhedron to .off file, is_valid() returns true. Is it possible that the validity is compromised when writing a polyhedron to .off file? If yes, any approach available to prevent this?

On Tue, Jan 5, 2010 at 9:42 AM, Laurent Rineau (GeometryFactory) <> wrote:
On Tuesday 05 January 2010 18:31:47 Joe C wrote:
> Can is_valid() tell this (returning false)? The polyhedron
> intersect_poly_1.off was the output of a polyhedron which shows true when
> running against is_valid().

Yes, as far as I know the is_valid function of the CGAL polyhedron class only
checks the combinatorial integrity. But other algorithms of CGAL (such as the
conversion from a regular polyhedron to a nef polyhedron) may need more. In
your case, I have seen overlapping facets. I am not surprised that the
constructor of Nef_3 cannot deal with that sort of data.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory           http://www.geometryfactory.com/
Release Manager of the CGAL Project       http://www.cgal.org/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss





Archive powered by MHonArc 2.6.16.

Top of Page