Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss][Polyhedron] Simple program problem

Subject: CGAL users discussion list

List archive

[cgal-discuss][Polyhedron] Simple program problem


Chronological Thread 
  • From: "LoadCom" <>
  • To: "" <>
  • Subject: [cgal-discuss][Polyhedron] Simple program problem
  • Date: Thu, 3 Jan 2008 15:19:01 +0800
  • Disposition-notification-to: "LoadCom" <>
  • Organization: LoadCom

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



Archive powered by MHonArc 2.6.16.

Top of Page