Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel

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: Marius Kintel <>
  • To:
  • Subject: Re: [cgal-discuss] Assertion converting Polyhedron_3 to Nef_polyhedron_3 / Nef_polyhedron VERY slow with extended kernel
  • Date: Sun, 15 Dec 2013 13:30:51 -0500

On Sep 27, 2013, at 10:58 AM, Andre Schmeisser
<>
wrote:
>>
>> 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?

Hi Andre,

Did you ever figure this out?
I have a very similar issue..

It looks like the OFF_to_nef_3() function manually projects all polygons into
a 2D plane, performs a constrained triangulation before constructing the Nef
from the triangles. Since this functionality is not specific to OFF files, it
would make sense to have a more robust builder which could construct Nef
polyhedrons from polygon meshes, including Polyhedron_3.

Kind Regards,

-Marius


Archive powered by MHonArc 2.6.18.

Top of Page