Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Bollean operation error

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Bollean operation error


Chronological Thread 
  • From: Noel Warren <>
  • To:
  • Subject: Re: [cgal-discuss] Bollean operation error
  • Date: Wed, 20 Feb 2013 16:49:31 +0100

That's brilliant Sebastien

I wish I had known about that constructor from the start.  Is there some way of generating OFF files from Nefs without first converting them to polyhedra?  If I could avoid using the Polyhedron_3 class altogether it could make my code substatially "lighter".  Thanks again.

2013/2/20 Sebastien Loriot (GeometryFactory) <>
On 02/20/2013 03:40 PM, Noel Warren wrote:
Thanks for the reply Sebastien.

I was unaware of that constructor.  Am I right in understanding that it
only works with the Homogeneous kernel?
No, it also works with EPEC kernel.

Sebastien.

That's what I understand from
the documentation.  The reason I ask is that all my code uses
Exact_predicates_exact_constructions kernel.

The result not being simple is not a problem for me.  I itterate through
the volumes creating new nefs for each one.

2013/2/20 Sebastien Loriot (GeometryFactory) <
<mailto:>>


    Hi Noel,

    you got a self-intersection in design.off.

    Using CGAL::OFF_to_nef_3 to create the nef polyhedron gave a result,
    but then the difference is not simple.

    Sebastien


    On 02/20/2013 01:10 PM, Noel Warren wrote:

        I get the following error when subtracting two Nef polyhedra

        ERROR: CGAL ERROR: assertion violation!
        Expr: itl != it->second.end()
        File: /usr/local/include/CGAL/Nef_3/__SNC_external_structure.h

        Line: 1102

        I have attatched the polyhedra in "off" format.  They convert
        fine to
        Nef_polyhedron_3.  I have also tried the operation with the
        "Operations
        on Polyhedra" demo.  Performing the difference operation (stock -
        design) also crashes it.

        Thanks in advance.



    --
    You are currently subscribed to cgal-discuss.
    To unsubscribe or access the archives, go to
    https://sympa.inria.fr/sympa/__info/cgal-discuss
    <https://sympa.inria.fr/sympa/info/cgal-discuss>





--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page