Skip to Content.
Sympa Menu

cgal-discuss - Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input.

Subject: CGAL users discussion list

List archive

Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input.


Chronological Thread 
  • From: Stephen Wong <>
  • To: "" <>
  • Subject: Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input.
  • Date: Sat, 12 Jan 2008 17:47:08 -0800
  • Accept-language: en-US, en-CA
  • Acceptlanguage: en-US, en-CA

Hi there,

On this seemingly innocent input solid in the form of a OFF file, CGAL's
Nef_polyhedron_3 constructor using Polyhedron_3 crashes. I believe that the
solid represented by the OFF file is valid based on the specification (you
can see the model in geomview or any other OFF viewer). I caused this crash
by modifying the Nef_3.sln's interface_polyhedron:

Polyhedron P ;
std::ifstream fin( "Triangle - Copy.off" ) ;
fin >> P ;
if ( P.is_closed() && P.is_valid() )
{
Nef_polyhedron_3 N1( poly ) ;
}

Thanks,

Stephen

Attachment: Triangle - Copy.off
Description: Triangle - Copy.off




Archive powered by MHonArc 2.6.16.

Top of Page