Subject: CGAL users discussion list
List archive
- From: "LoadCom" <>
- To: "" <>
- Subject: Re: Re: [cgal-discuss][Polyhedron] Simple program problem
- Date: Fri, 4 Jan 2008 09:00:49 +0800
- Disposition-notification-to: "LoadCom" <>
- Organization: LoadCom
Hello Peter,
Thank you very much for your reply.
My environment:
CGAL 3.3.1
Windows XP/SP2
VS 2003
The program causes a runtime error, see the attached 1.png. (debug mode)
The program ceased at the position as shown in 2.png.
The whole project I'm using is also attached.
B/Rgds
Max
Re: [cgal-discuss][Polyhedron] Simple program problem
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
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
Attachment:
1.png
Description: Binary data
Attachment:
2.png
Description: Binary data
Attachment:
Nef.rar
Description: Binary data
- [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, Peter Hachenberger, 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.