Subject: CGAL users discussion list
List archive
- From: Peter Hachenberger <>
- To:
- Subject: Re: [cgal-discuss][Polyhedron] Simple program problem
- Date: Thu, 03 Jan 2008 13:27:45 +0100
Hi Max,
it runs nicely for me. What exactly happens? Do you get an exception?
What CGAL version are you using?
Peter
On Thu, 2008-01-03 at 15:19 +0800, LoadCom wrote:
> Hello,
>
> I'm resending the question with hope of getting any help.
> sorry for disturbing, but I've just not found the cause.
>
> This small program got compiled but cause a runtime error:
>
> #include <CGAL/Polyhedron_3.h>
> #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
> #include <CGAL/Nef_polyhedron_3.h>
>
> struct Kernel : public CGAL::Exact_predicates_exact_constructions_kernel {};
> typedef Kernel::Point_3 Point_3;
> typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
> typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron;
>
> int main()
> {
> Point_3 p( 1.0, 0.0, 0.0);
> Point_3 q( 0.0, 1.0, 0.0);
> Point_3 r( 0.0, 0.0, 1.0);
> Point_3 s( 0.0, 0.0, 0.0);
>
> Polyhedron P;
> P.make_tetrahedron( p, q, r, s);
> Nef_polyhedron N1(P);
> }
>
> What's the problem?
>
> Thanks.
> Max
- [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 01/03/2008
- Re: [cgal-discuss][Polyhedron] Simple program problem, Peter Hachenberger, 01/03/2008
- Re: Re: [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 01/04/2008
- [cgal-discuss][Polyhedron] How to perform coordinate system conversion, LoadCom, 01/04/2008
- <Possible follow-up(s)>
- Re: Re: [cgal-discuss][Polyhedron] Simple program problem, Mahmood NT, 01/04/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 01/04/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, Peter Hachenberger, 01/07/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 01/08/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, Peter Hachenberger, 01/08/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 01/09/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, Peter Hachenberger, 01/09/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, Max, 01/10/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 01/09/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, Peter Hachenberger, 01/08/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 01/08/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, Peter Hachenberger, 01/07/2008
- Re: Re: Re: [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 01/04/2008
- Re: [cgal-discuss][Polyhedron] Simple program problem, Peter Hachenberger, 01/03/2008
Archive powered by MHonArc 2.6.16.