Subject: CGAL users discussion list
List archive
- From: "Max" <>
- To: <>
- Subject: RE: [cgal-discuss] CGAL 3.3.1 - Nef_3::intersection() problem
- Date: Tue, 7 Apr 2009 09:27:08 +0800
I'm posting this message in the hope of getting help from
Peter, the main author of the nef_polyhedron package.
It seems that Peter is too busy. Then this question is also
open to other CGAL gurus or even newbies that happen
to have any hints of this matter.
I appreciate any help.
B/Rgds
Max
> Hello,
>
> I'm testing the following code and get a runtime error.
>
> 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("DB1P.nef");
> is >> N;
>
> Plane_3 pl1(-0, -0.984808, 0.173648, -0);
> N1 = N.intersection(pl1,
> Nef_polyhedron_3::Combine_with_halfspace::CLOSED_HALFSPACE);
> N2 = N.intersection(pl1,
> Nef_polyhedron_3::Combine_with_halfspace::PLANE_ONLY);
>
> The error message given in the console window:
>
> CGAL error: assertion violation!
> Expr: itl != it->second.end()
> File: e:\lib\cgal-3.3.1\include\cgal\nef_3\snc_external_structure.h
> Line: 567
> Explanation: <_no explanation here_>
>
> I'm using VS2008SP1 under WinXP/SP1. The test model is attached.
>
> Thanks for any help.
>
> B/Rgds
> Max
- RE: [cgal-discuss] CGAL 3.3.1 - Nef_3::intersection() problem, Max, 04/04/2009
- RE: [cgal-discuss] CGAL 3.3.1 - Nef_3::intersection() problem, Max, 04/07/2009
Archive powered by MHonArc 2.6.16.