Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] AABB Tree closest_point

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] AABB Tree closest_point


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] AABB Tree closest_point
  • Date: Mon, 18 Oct 2010 08:58:49 +0200


wrote:
Hello,

I do get an error message when trying to apply tree.closest_point(p), where p
is a 3D point. The message is:

no matching function for call to ‘do_intersect(const
CGAL::Sphere_3<CGAL::Simple_cartesian<double> >&, const CGAL::Bbox_3&,
CGAL::Simple_cartesian<double>)’ SMT line 2000, external
location: /usr/include/CGAL/Kernel/function_objects.h C/C++ Problem

Could the order of my includes be wrong? I do have the following includes:

Could you post a minimal example showing the problem?

S.


#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/Cartesian.h>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Point_3.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Polytope_distance_d.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Triangulation_2.h>
#include <CGAL/Delaunay_triangulation_2.h>
#include <CGAL/Triangulation_euclidean_traits_xy_3.h>
#include <CGAL/Triangulation_face_base_2.h>
#include <CGAL/Triangulation_vertex_base_with_info_2.h>
#include <CGAL/Triangulation_data_structure_2.h>
#include <CGAL/Constrained_triangulation_face_base_2.h>
#include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/convex_hull_2.h>
#include <CGAL/Convex_hull_traits_3.h>
#include <CGAL/convex_hull_traits_2.h>
#include <CGAL/ch_graham_andrew.h>
#include <CGAL/Convex_hull_projective_xy_traits_2.h>
#include <CGAL/spatial_sort.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/Polygon_2_algorithms.h>
#include <CGAL/enum.h>
#include <CGAL/grid_simplify_point_set.h>
#include <CGAL/intersections.h>
#include <CGAL/IO/Color.h>
#include <CGAL/Polygon_2_algorithms.h>
#include <CGAL/Polytope_distance_d_traits_3.h>
#include <CGAL/AABB_tree.h>
#include <CGAL/AABB_traits.h>
#include <CGAL/AABB_triangle_primitive.h>

Thanks in Advance,
MK




Archive powered by MHonArc 2.6.16.

Top of Page