Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL 4.2 4.3: Surface mesher: Polyhedral_surface_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL 4.2 4.3: Surface mesher: Polyhedral_surface_3


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL 4.2 4.3: Surface mesher: Polyhedral_surface_3
  • Date: Wed, 27 Nov 2013 11:21:05 +0100
  • Organization: GeometryFactory

Instead of AABB_intersection
use either
boost::optional<Tree::Intersection_and_primitive_id<Segment_3>::Type >
boost::optional<Tree::Intersection_and_primitive_id<Ray_3>::Type >
boost::optional<Tree::Intersection_and_primitive_id<Line_3>::Type >

depending on the context.

I think the conversion to object will be made automatically then.

Another not recommended option is to simply define
CGAL_INTERSECTION_VERSION to be 1.

Let me know if you still have a pb.

Sebastien.

PS: it was in the changelog ;)

3D Fast Intersection and Distance Computation:
Following the intersection API change, Object_and_primitive_id has
been replaced by a template class
Intersection_and_primitive_id<Query> to determine the type depending
on the query object type.




On 11/27/2013 10:47 AM, Emmanuel Olivi wrote:
Dear CGALs,

We're having some troubles updating our code to CGAL 4.3:
While changelog says the way we did is now (only) deprecated**, I cannot
compile successfully.

Our CGAL tool (included in OpenMEEG (Athena Team)) aims at giving us a
surfacic mesh with either a 3D grey-level image, implicit functions, or
polyhedron as input.

When giving a polyhedron, it should re-mesh it.
That is the part causing troubles at compilation time (see attached
files).

We want to solve this problem; the documentation says:
example Surface_mesher/polyhedron_remesher.cpp
and does
#include <CGAL/Polyhedral_surface_3.h>
These files do not exist... neither in CGAL 4.2 nor 4.3.

Attached files contains our short tool (which compile on 4.2
successfully) and the build log with CGAL 4.3.

We would appreciate any help on our tool or at least completing the
documentation/examples of your Surface_mesher.

Thank you and best regards

Emmanuel

** changelog:
"Introduce the class AABB_face_graph_triangle_primitive which replaces
the class AABB_polyhedron_triangle_primitive (which is now deprecated)."






Archive powered by MHonArc 2.6.18.

Top of Page