Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFFinput.
Chronological Thread
- From: "Max" <>
- To: "" <>
- Subject: Re: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFFinput.
- Date: Sun, 13 Jan 2008 10:30:13 +0800
- Disposition-notification-to: "Max" <>
- Organization: LoadCom
Hello,
I once had similar experience. I was attempting to read an OFF file
containing a valid polyhedron from std::ifstream, but failed.
The strange aspect of this problem is that it worked when I
input the data with std::cin and command prompt redirection
as 'interface_polyhedron.exe < my_polyhedron.off'.
B/Rgds
Max
----- Original Message ----
From: Stephen Wong
To:
Sent: 2008-01-13 09:47:55
Subject: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3
on an OFFinput.
>
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
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss][Nef_polyhedron] How to convert a Nef_polyhedron_3 into a Nef_polyhedron_2 if meaningful, LoadCom, 01/07/2008
- Re: [cgal-discuss][Nef_polyhedron] How to convert a Nef_polyhedron_3 into a Nef_polyhedron_2 if meaningful, Peter Hachenberger, 01/08/2008
- Re: Re: [cgal-discuss][Nef_polyhedron] How to convert aNef_polyhedron_3 into a Nef_polyhedron_2 if meaningful, LoadCom, 01/09/2008
- Re: Re: [cgal-discuss][Nef_polyhedron] How to convert aNef_polyhedron_3 into a Nef_polyhedron_2 if meaningful, Peter Hachenberger, 01/10/2008
- Re: [cgal-discuss][Nef_polyhedron] How to convertaNef_polyhedron_3 into a Nef_polyhedron_2 if meaningful, Max, 01/11/2008
- [cgal-discuss]Aff_transformation_3 Plane_3::transform_to_2d() const;, Max, 01/12/2008
- Re: [cgal-discuss]Aff_transformation_3 Plane_3::transform_to_2d() const;, Ashwin Nanjappa, 01/16/2008
- Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input., Stephen Wong, 01/13/2008
- Re: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFFinput., Max, 01/13/2008
- Re: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input., Gilbert Bernstein, 01/13/2008
- RE: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input., Stephen Wong, 01/13/2008
- Re: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input., Gilbert Bernstein, 01/14/2008
- RE: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input., Stephen Wong, 01/14/2008
- RE: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input., Stephen Wong, 01/13/2008
- Re: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input., Peter Hachenberger, 01/14/2008
- Re: [cgal-discuss] Crash on converting Polyhedron_3 to Nef_polyhedron_3 on an OFF input., Gilbert Bernstein, 01/14/2008
- Re: Re: [cgal-discuss][Nef_polyhedron] How to convert aNef_polyhedron_3 into a Nef_polyhedron_2 if meaningful, Peter Hachenberger, 01/10/2008
- Re: Re: [cgal-discuss][Nef_polyhedron] How to convert aNef_polyhedron_3 into a Nef_polyhedron_2 if meaningful, LoadCom, 01/09/2008
- Re: [cgal-discuss][Nef_polyhedron] How to convert a Nef_polyhedron_3 into a Nef_polyhedron_2 if meaningful, Peter Hachenberger, 01/08/2008
Archive powered by MHonArc 2.6.16.