Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel
Chronological Thread
- From: Andre Schmeisser <>
- To:
- Subject: Re: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel
- Date: Fri, 27 Sep 2013 16:58:09 +0200
- Organization: Fraunhofer ITWM
On 09/27/2013 07:20 AM, Sebastien Loriot (GeometryFactory) wrote:
> In the non-triangulated version, your polyhedron has some facets with
> its points not being exactly in a plane. Nef does not like that.
Yes, that's what I guessed might be the problem. Hence trying to
triangulate the polyhedron faces by simply adding some diagonals.
> In the triangulated version, your polyhedron has some self-intersections
> which I suspect to be the reason why Nef is not happy.
I did not realize the polyhedron is degenerated. I will have to further
investigate how I could come up with this degenerate polyhedron in the
first place.
>
> The following is working:
>
> istringstream off(polyhedronOffStr);
>
> Nef_polyhedron NP;
> CGAL::OFF_to_nef_3(off, NP);
Thanks, this works.
Is there a way to directly construct the Nef polyhedron without first
serializing to/from an OFF string? (My data is not in OFF format,
I just used the output operator of Polyhedron_3 for this to create
example data).
Best regards,
Andre
--
Dipl.-Inf. Andre Schmeißer
Department of Transport Processes
Fraunhofer Institute for Industrial Mathematics ITWM
Fraunhofer-Platz 1, D-67663 Kaiserslautern
Internet: www.itwm.fraunhofer.de
- [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel, as84, 09/19/2013
- Re: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel, Andre Schmeisser, 09/26/2013
- RE: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel, g4, 09/26/2013
- Re: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel, Sebastien Loriot (GeometryFactory), 09/27/2013
- Re: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel, Andre Schmeisser, 09/27/2013
- Re: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel, Andre Schmeisser, 09/26/2013
Archive powered by MHonArc 2.6.18.