Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Nef_polyhedron and Exact_predicates_inexact_constructions_kernel

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Nef_polyhedron and Exact_predicates_inexact_constructions_kernel


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Nef_polyhedron and Exact_predicates_inexact_constructions_kernel
  • Date: Wed, 07 Oct 2015 16:58:49 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:aR17Ah0H4XI6HFiUsmDT+DRfVm0co7zxezQtwd8ZsekXLfad9pjvdHbS+e9qxAeQG96Lt7Qb0KGG6ujJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6OyZvsnLDrs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Loc8dVdW/D6Y7ggVu4fSy83Nng8osztrxjKCwWVoWANV30f1RtODQ+C5x7zWtL9szDxq/FmixWdaMb5RLRxVTW55LpwUzfpjj0GPng36jL5kMt12ehgrRiovAB+zoicRIaPNf1iNuPycNQfSHZbT+hYXDBGGJL9JcNbFO4GJ+dfs8/4o3MBqBK/AU+nA+a5mWwAvWP/waBvi7dpKgrBxgF1R98=
  • Organization: GeometryFactory

Nef_3 requires a kernel with exact constructions. So usually the best
choice is Exact_predicates_exact_constructions_kernel.

About the interoperability with Polyhedron_3, the traits class of the
polyhedron and of the nef should be the same.
If you have a polyhedron using another traits, then you can convert it
using for example CGAL/Polyhedron_copy_3.h as follow:

Poly2 target;
CGAL::Polyhedron_copy_3<Poly1, Poly1::HalfedgeDS> modifier(source);
target.delegate(modifier);

Sebastien.


On 10/07/2015 02:31 PM, Merlin Etzold wrote:
Dear All,

I am working on the inverted problem of Thiago (I am interested what is left
after to polyhedrons are subtracted form each other) and have the same
issues as Thiago and Taus. Some clarification would be really great.

Please keep posting about any insights you may get, I will do the same as I
go along.

Best wishes,
Merlin :)

-----Original Message-----
From:


[mailto:]
On Behalf Of Taus Møller
Sent: 07 October 2015 09:56
To:

Subject: Re: [cgal-discuss] Nef_polyhedron and
Exact_predicates_inexact_constructions_kernel

I have run into the same problem. I have a hard time know what kernel are
usable for what. Even though the exact and inexact construction kernel models
the same concepts, they seem to be different in some ways. I have found that
the Exact_predicates_exact_construction_kernel
works for use with with Nef_polyhedra_3.

On 2 October 2015 at 18:30, Thiago Milanetto Schlittler
<>
wrote:
Hello!

I’m trying to use Nef polyhedrons to find the intersections between
polyhedrons, and I’m having some problems. The compiler returns the
following error when trying to convert a polyhedron to a nef_polyhedron:

In file included from /opt/local/include/CGAL/Nef_3/SNC_k3_tree_traits.h:24:
/opt/local/include/CGAL/Nef_3/Bounding_box_3.h:90:34: error: no member
named 'lo' in 'CGAL::Box_intersection_d::Box_d<double, 3,
CGAL::Box_intersection_d::ID_EXPLICIT>'
std::copy( q, q + 3, Base::lo );

I’m using the “Exact_predicates_inexact_constructions_kernel”,
could this be the reason?

Thanks in advance,
Thiago Milanetto Schlittler



--
Regards
Taus Møller
Software Developer, Apiosoft

--
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