Subject: CGAL users discussion list
List archive
- From: Mahmood NT <>
- To:
- Subject: Re: Re: [cgal-discuss][Polyhedron] Simple program problem
- Date: Thu, 3 Jan 2008 23:39:19 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=k77pdRsNSAtm0a2TvyJV5O+j/ZhRoyv5BrChTvb/zI0naTABPUpe+FJWNSY+3WE+s/iue4zFmGdENNcV8/ZIaQc+vIDcPqWxm3yrqidBcON614bHyNPkWL1ktOCAj93mRFU3vbe2V8aq9ZRU7zfLXYKRP0AEf//c286EcMnLZHo=;
>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)
Did you set project properties properly. check your project propeties with a
simple example or demo (if you use QT).
Also it would be helpful to post the call stack.
Mahmood NT
----- Original Message ----
From: LoadCom
<>
To:
""
<>
Sent: Friday, January 4, 2008 4:30:49 AM
Subject: Re: Re: [cgal-discuss][Polyhedron] Simple program problem
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
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
- [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: [cgal-discuss][Polyhedron] Simple program problem, Max, 01/11/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.