Subject: CGAL users discussion list
List archive
- From: "Joe C" <>
- To:
- Subject: Polyhedron_3 to Nef_Polyhedron_3
- Date: Tue, 6 May 2008 12:07:01 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=dHcZQcFKlDbph2dD89C+AqRXYZfBRR/ucwHof7pHQwpRHnRJiKJdhxxquEqUseprcgMOfs8ErECuwDgvvyeLKMKCnvNIOoDIoOs1Pc+/uJzToD/77lZ4wqFkWmw9n5WFNBG5fvHnhk6xj4rWzf8wVhkDBM5/6a50Z3jTzYOWdKw=
Hi, all,
I am newbie for CGAL and trying to run a simple program as attached:
#include <CGAL/Gmpz.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Polyhedron_3.h>
typedef CGAL::Homogeneous<CGAL::Gmpz> Kernel;
typedef Kernel::Point_3 Point_3;
typedef CGAL::Polyhedron_3<Kernel> 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 N2(P); // This is where the problem occurs.
return 0;
}
The program halts at "Nef_polyhedron N2(P)". When I run debug, I see it is really in "polyhedron_3_to_nef_3h", at the statement "SM.check_integrity_and_topological_planarity();". It reports there is Unhandled exception from "dbgheadp.c". I am using Visual Studio 2003 with SP1.
Can anyone help me figure this out? Thanks.
Joe.
- Polyhedron_3 to Nef_Polyhedron_3, Joe C, 05/06/2008
- Re: Polyhedron_3 to Nef_Polyhedron_3, Joe C, 05/08/2008
Archive powered by MHonArc 2.6.16.