Subject: CGAL users discussion list
List archive
- From: Peter Hachenberger <>
- To:
- Subject: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but still simplequestion
- Date: Tue, 05 Feb 2008 11:36:24 +0100
> I encountered a rediculous problem that I once did before.
>
> with code
>
> Polyhedron_3 P;
> std::cin >> P;
>
> and command line
> [nef.exe] < [sample.off]
>
> it works well. but with code
>
> ReadPolyhedron(path, P);
>
> which is difined as follows:
>
> template <class Polyhedron_3>
> bool ReadPolyhedron(std::string path, Polyhedron_3& P)
> {
> std::ifstream is;
> try { is.open(path.c_str()); } catch(...) { return false; }
> try { is >> P; } catch(...) { is.close(); return false; }
>
> is.close();
> return true;
> }
>
> P is not properly read. it's really strange.
I have no clue, either. But I also have no clue about exception handling
under C++.
> I know nothing about indexed item before. But it works quite well.
That's good to know. Than there is an alternative to
Exact_construction_excat_predicate_kernel. I'm curious about the
performance.
> One more question, the program output 'Constructor not available for this
> Kernel'
> What does it mean? Could this message be ignored?
This means that you called the constructor for creating a halfspace
while you use a standard kernel. This constructor has can not work
without an extended kernel.
Peter
- Re: Re: Re: [cgal-discuss] [Nef_polyhedron_3] interior(), closure()and boundary(), (continued)
- Re: Re: Re: [cgal-discuss] [Nef_polyhedron_3] interior(), closure()and boundary(), Peter Hachenberger, 02/05/2008
- Re: Re: Re: [cgal-discuss] [Nef_polyhedron_3] interior(),closure()and boundary(), Max, 02/05/2008
- Re: Re: Re: [cgal-discuss] [Nef_polyhedron_3] interior(),closure()and boundary(), Max, 02/05/2008
- Re: Re: Re: [cgal-discuss] [Nef_polyhedron_3] interior(),closure()and boundary(), Peter Hachenberger, 02/05/2008
- Re: Re: Re: [cgal-discuss] [Nef_polyhedron_3]interior(),closure()and boundary(), Max, 02/06/2008
- [cgal-discuss] [Nef_polyhedron_3] Constructor not available for this Kernel, Max, 02/07/2008
- Re: [cgal-discuss] [Nef_polyhedron_3] Constructor not available for this Kernel, Peter Hachenberger, 02/07/2008
- Re: Re: Re: [cgal-discuss] [Nef_polyhedron_3] interior(), closure()and boundary(), Peter Hachenberger, 02/05/2008
- Re: [cgal-discuss][Nef_polyhedron]A more complex but still simple question, Peter Hachenberger, 02/04/2008
- Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but still simplequestion, Max, 02/05/2008
- Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but still simplequestion, Peter Hachenberger, 02/05/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but stillsimplequestion, Max, 02/05/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but stillsimplequestion, Peter Hachenberger, 02/05/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex butstillsimplequestion, Max, 02/05/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex butstillsimplequestion, Max, 02/06/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex butstillsimplequestion, Max, 02/06/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex butstillsimplequestion, Peter Hachenberger, 02/06/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complexbutstillsimplequestion, Max, 02/06/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but stillsimplequestion, Max, 02/05/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex butstillsimplequestion, Peter Hachenberger, 02/06/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complexbutstillsimplequestion, Max, 02/06/2008
- Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complexbutstillsimplequestion, Peter Hachenberger, 02/06/2008
- Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but still simplequestion, Peter Hachenberger, 02/05/2008
- Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but still simplequestion, Max, 02/05/2008
Archive powered by MHonArc 2.6.16.