Subject: CGAL users discussion list
List archive
- From: "Max" <>
- To: <>
- Subject: RE: [cgal-discuss] CGAL 3.4 - Nef_3::intersection() problem
- Date: Fri, 3 Apr 2009 22:41:26 +0800
Hello
Peter, I've
upgrade to version 3.4. I've managed to rebuild the libs with VC9SP1. I got
an runtime error with the following code. The test Nef_3 model is as attached. typedef CGAL::Exact_predicates_exact_constructions_kernel
Kernel; typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron_3; typedef CGAL::Plane_3<Kernel> Plane_3; Nef_polyhedron_3 N; std::ifstream is; is.open("./COT1P.nef"); is >> N; Plane_3 pl(0, 0, 1, -4000); Nef_polyhedron_3 N1, N2; N1 = N.intersection(pl, Nef_polyhedron_3::Combine_with_halfspace::CLOSED_HALFSPACE); // ERROR HERE N2 = N1.intersection(pl.opposite(), Nef_polyhedron_3::Combine_with_halfspace::CLOSED_HALFSPACE); I've
modified the following lines of Nef_polyhedron_3.h to have access to the
enum CLOSED_HALFSPACE. public: // Max added 2009-03-31 typedef CGAL::Combine_with_halfspace<SNC_structure,
SNC_point_locator>
Combine_with_halfspace; protected: // Max
added 2009-03-31 I
need your help. Thank you, Peter. B/Rgds Max From: Peter Hachenberger [mailto:]
Hi
Max, |
Attachment:
COT1P.nef
Description: Binary data
- RE: [cgal-discuss] CGAL 3.4 - Nef_3::intersection() problem, Max, 04/03/2009
Archive powered by MHonArc 2.6.16.