Subject: CGAL users discussion list
List archive
- From: Armando Duarte <>
- To: "Sebastien Loriot ( via cgal-discuss Mailing List)" <>
- Subject: Re: [cgal-discuss] Unreported breaking change in CGAL 4.14?
- Date: Thu, 4 Jan 2024 13:29:24 -0600
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-data: A9a23:s638fah5MMx5LTF007i52+PvX161+xQKZh0ujC45NGQN5FlHY01je htvXzqDa/vcYDTyc9tyPY/loR5UvZPUxoU2QQVtqCBjQy5jpJueD7x1DG+gZnLIdpWroGFPt phFNIGYdKjYaleG+39B55C49SEUOZmgH+a6UqieUsxIbVcMYD87jh5+kPIOjIdtgNyoayuAo tqaT/f3YTdJ4BYqdDpIg06/gEk35qiq4WtE5gZWic1j5TcyqVFFVPrzGonqdxMUcqEMdsamS uDKyq2O/2+x13/B3fv4+lpTWhRiro/6ZWBiuFIOM0SRqkQqShgJ70oOHKF0hXG7JNm+t4sZJ N1l7fRcQOqyV0HGsLx1vxJwS0mSMUDakVNuzLfWXcG7liX7n3XQL/pGI18zYc4x2PRMAkJ1z PAYAmoKZTbemLfjqF67YrEEasULKcDqOMYGpCglw2yFS/khRp/HTuPB4towMDUY3JgfW6aDI ZBAOHwyMHwsYDUXUrsTIJk3kPqhnGXyKRVXrVuUoew85G27IAlZj+W9a4WKK4biqcN9tVuIn GHY9HbCKRRGZNi+kRuK00ijv7qa9c/8cNlPTeXnp6ACbEeo7mccARlTWVqgquSikWalStdHI goV/DAvpO487iSWosLVWhS5pDudoEdZVYcMVeI97w6Jx+zf5APx6nU4oiBpR8Ij6IwfZy4R1 Xyypt/pL2Zou5vIVifInluLlg+aNS8QJG4EQCYLSwoZ/tXuyL3faDqfEb6P94bl0bXI9SHM/ tyckMQpa1wuYSMj0qy6+RXenWvpqMWVCAEy4QrTUySu6QYRiG+Zi26AuACzARVoddnxory9U J4sxZP2AAcmU8nlqcB1aL9RdIxFHt7cWNEmvXZhHoM66xOm8GO5cIZb7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Y4tD6k Z4KANe3TXQTEfUXQgRgFd0Ge9JsWy881KWclIgO7Ga/qx/YQINbuIrGX7ScG6enLjHRlrRCa xYSpNGwZY0OKo323VBjYVhmjczLHUTXR9VEvixmaEc9vkxM9HF0SmB71Vjib0uh53oaFPj8m RBT6EM2eeM26DLl+Es6PHLPrSo01VAvwJDr3GzXfzn2I6O9G4pRDmu8tkQ8NI/6XxcgbQC2m h8BVn+MTLZQgr18MGFz3VWE6N0fRLgGFPwCPUNDoJPfL+8l2lldtCi9kEpO5O+eTIBniBNva pm06XRJxwNkatcxY63WPqtAiFZK1cfs9mel0P48xAgGKgMD6mSXLWQDsUAVP6M6KnCA8ell6 AjEkDxGMjtpNbJisrdx+0UxNv7VhTrnyKJGI1utOva3KqqYvy3Zi5fNTA5skEwPkEZB8P591 sJpIC/2Hwg/ibCWERoOL8/LLwpYOtFT+HbkdiGLqezRwJhxMu1V+cjnSOaPsOAfhUf2RW7B/ qwJ58UFW4CyiQTWcJuhI7kCxhEgog/sIQfdZBysUB2OmTYD5cq4yc0vtbQ=
- Ironport-sdr: 65970718_nfQ9WKVt6iMvxOVMtuLoF1Y0dyaZOkefADs1SX8QTfevtme OHlzU0Asa3oEZ8W+lGBRhVAEDrWZYKDw/ukV7ZA==
Hi Sebastien,
Thanks for the quick reply.
I have converted the vector of Halfedge_handle (my_hedges in the sample code provided) into a vector of edge_descriptor and used the latter to insert in the aabb tree. This will be a fairly local change to the codebase and hopefully at a negligible cost.
Best,
Armando
On 1/4/24 3:47 AM, Sebastien Loriot ( via cgal-discuss Mailing List) wrote:
Hi,
Thanks for the quick reply.
I have converted the vector of Halfedge_handle (my_hedges in the sample code provided) into a vector of edge_descriptor and used the latter to insert in the aabb tree. This will be a fairly local change to the codebase and hopefully at a negligible cost.
Best,
Armando
On 1/4/24 3:47 AM, Sebastien Loriot ( via cgal-discuss Mailing List) wrote:
even in CGAL 4.13 the primitive id is already edge_descriptor so I
don't understand how the old code was compiling. Maybe there was
a hack somewhere but the code was not correct (according to the doc).
I'm afraid, you'd have to update your codebase.
Best,
Sebastien.
On 1/4/24 00:42, Armando Duarte ( via cgal-discuss Mailing List) wrote:
Hi there,
The code below within
#if CGAL_VERSION_NR < 1041401000
#else
compiles and have worked for years with CGAL 4.13.2 or older. It does not, however, compile with CGAL 4.14 or later (see error message below). Release notes https://www.cgal.org/2019/03/29/cgal414/
does not mention a /breaking change/ related to aabb trees.
Is there a way to make this code compile or an implementation based on the code below within
#else
#end
must be used with CGAL 4.14 or later?
I.e, do we have to use boost::graph_traits< HalfedgeGraph >::edge_iterator after CGAL 4.14 with the aabb tree defined below?
Thank you!
Armando Duarte
// Adapted from CGAL Manual
#include <iostream>
#include <vector>
#include <boost/graph/graph_traits.hpp>
//#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/AABB_tree.h>
#include <CGAL/AABB_traits.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/AABB_halfedge_graph_segment_primitive.h>
//typedef CGAL::Simple_cartesian<double> K;
typedef CGAL::Exact_predicates_exact_constructions_kernel K;
typedef K::FT FT;
typedef K::Point_3 Point;
typedef K::Triangle_3 Triangle;
typedef CGAL::Polyhedron_3<K> Polyhedron;
typedef CGAL::AABB_halfedge_graph_segment_primitive<Polyhedron, /*VertexPointPMap*/ CGAL::Default,
/* OneHalfedgeGraphPerTree*/ CGAL::Tag_true > Primitive;
typedef CGAL::AABB_traits<K, Primitive> Traits;
typedef CGAL::AABB_tree<Traits> Tree;
template <class Kernel, class HalfedgeGraph>
void run(HalfedgeGraph& graph){
typename Kernel::Point_3 p(1.0, 0.0, 0.0);
typename Kernel::Point_3 q(0.0, 1.0, 0.0);
typename Kernel::Point_3 r(0.0, 0.0, 1.0);
// constructs the AABB tree with hedges of a Polyhedron_3
Tree tree;
std::cout << "\nInserting subset of edges using vector iterators" << std::endl;
//#if 1
#if CGAL_VERSION_NR < 1041401000
// This compiles and have worked for years with CGAL 4.13.2 or older. It does not compile with CGAL 4.14 or later.
// Release notes https://www.cgal.org/2019/03/29/cgal414/
// does not mention a *breaking change* related to aabb trees.
// How to make this code compile? (see error message below).
std::cout << "\nCGAL_VERSION < 4.14 adopted" << std::endl;
// Store a couple of hedges from HalfedgeGraph graph into vector with hedges
typename std::vector< typename HalfedgeGraph::Halfedge_handle > my_hedges;
typename HalfedgeGraph::Edge_iterator edge_pos = graph.edges_begin();
my_hedges.push_back( &(*edge_pos) );
edge_pos++;
my_hedges.push_back( &(*edge_pos) );
// Get a hedge stored in vector my_edges.
typename std::vector< typename HalfedgeGraph::Halfedge_handle >::iterator hedge_pos = my_hedges.begin();
++hedge_pos;
typename HalfedgeGraph::Halfedge_handle my_halfedge_handle = (*hedge_pos);
std::cout << "\nmy_halfedge_handle point = " << my_halfedge_handle->vertex()->point();
std::cout << "\nhd_hedge_opposite point = " << my_halfedge_handle->opposite()->vertex()->point() << std::endl;
// Rebuild aabb tree with HalfedgeGraph::Halfedge_handle stored in vector my_edges
tree.rebuild( my_hedges.begin(), my_hedges.end(), graph );
#else
// This compiles with CGAL 4.14 or later buy it will require lots of code changes.
std::cout << "\nCGAL_VERSION >= 4.14 adopted" << std::endl;
// Is there an easier way to insert a subset of Halfedges of a CGAL:Polyhedron_3 in a CGAL:AABB_tree?
// Do we have to use boost::graph_traits< HalfedgeGraph >::edge_iterator after CGAL 4.14?
// vector to store edges we want to use with AABB tree.
// Type used comes from CGAL header AABB_halfedge_graph_segment_primitive.h
std::vector< typename boost::graph_traits< HalfedgeGraph >::edge_descriptor > my_edges;
// Use this to pick edges from HalfedgeGraph graph
typename boost::graph_traits< HalfedgeGraph >::edge_iterator epos_start = CGAL::edges(graph).first;
typename boost::graph_traits< HalfedgeGraph >::edge_descriptor edge = *epos_start;
my_edges.push_back( edge );
epos_start++;
edge = *epos_start;
my_edges.push_back( edge );
// Return one of the halfedges corresponding to edge
// https://doc.cgal.org/latest/BGL/classHalfedgeGraph.html#aa6d5e0b5380b5b80bbc2ed90e3e707f7
typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor hedge_descritor = halfedge(edge, graph);
// Covert the halfedge_descriptor into a Halfedge_handle
typename HalfedgeGraph::Halfedge_handle my_halfedge_handle;
my_halfedge_handle = (hedge_descritor);
typename HalfedgeGraph::Halfedge_handle hd_hedge_opposite = my_halfedge_handle->opposite();
std::cout << "\nmy_halfedge_handle point = " << my_halfedge_handle->vertex()->point();
std::cout << "\nhd_hedge_opposite point = " << hd_hedge_opposite->vertex()->point() << std::endl;
// Type of first two arguments to this method are iterators
// boost::graph_traits< EdgeListGraph >::edge_iterator
// Their value is boost::graph_traits< HalfedgeGraph >::edge_descriptor
// Rebuild aabb tree with boost::graph_traits< HalfedgeGraph >::edge_descriptor stored in vector
tree.rebuild( my_edges.begin(), my_edges.end(),
graph);
#endif
// counts #intersections with a triangle query
Triangle triangle_query(p,q,r);
std::cout << tree.number_of_intersected_primitives(triangle_query)
<< " intersections(s) with triangle" << std::endl;
// assert( tree.number_of_intersected_primitives(triangle_query )== 6);
// computes the closest point from a query point
typename Kernel::Point_3 point_query(2.0, 2.0, 2.0);
typename Kernel::Point_3 closest = tree.closest_point(point_query);
std::cerr << "closest point is: " << closest << std::endl;
}
int main()
{
Point p(1.0, 0.0, 0.0);
Point q(0.0, 1.0, 0.0);
Point r(0.0, 0.0, 1.0);
Point s(0.0, 0.0, 0.0);
Polyhedron polyhedron;
polyhedron.make_tetrahedron(p, q, r, s);
run<K>(polyhedron);
return EXIT_SUCCESS;
}
/*
Error message if using CGAL 4.14 or later and the first version of the code:
[ 66%] Building CXX object projects/helperprograms/test_AABB_tree/CMakeFiles/test_AABB_tree_3_to_post.dir/test_AABB_tree_3_to_post.C.o
In file included from /Users/armando/SetSolver_git/SetSolver/projects/helperprograms/test_AABB_tree/test_AABB_tree_3_to_post.C:11:
/Users/armando/SetSolver_hg/CGAL-4.14.3/include/CGAL/AABB_halfedge_graph_segment_primitive.h:181:17: error: no matching member function for call to 'make_id'
: Base( Id_(make_id(*it, graph, OneHalfedgeGraphPerTree())),
^~~~~~~
/Users/armando/SetSolver_hg/CGAL-4.14.3/include/CGAL/AABB_tree.h:774:27: note: in instantiation of function template specialization 'CGAL::AABB_halfedge_graph_segment_primitive<CGAL::Polyhedron_3<CGAL::Epeck>>::AABB_halfedge_graph_segment_primitive<std::__wrap_iter<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>>> *>>' requested here
m_primitives.push_back(Primitive(first,std::forward<T>(t)...));
^
/Users/armando/SetSolver_hg/CGAL-4.14.3/include/CGAL/AABB_tree.h:791:5: note: in instantiation of function template specialization 'CGAL::AABB_tree<CGAL::AABB_traits<CGAL::Epeck, CGAL::AABB_halfedge_graph_segment_primitive<CGAL::Polyhedron_3<CGAL::Epeck>>>>::insert<std::__wrap_iter<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>>> *>, CGAL::Polyhedron_3<CGAL::Epeck> &>' requested here
insert(first, beyond,std::forward<T>(t)...);
^
/Users/armando/SetSolver_git/SetSolver/projects/helperprograms/test_AABB_tree/test_AABB_tree_3_to_post.C:66:8: note: in instantiation of function template specialization 'CGAL::AABB_tree<CGAL::AABB_traits<CGAL::Epeck, CGAL::AABB_halfedge_graph_segment_primitive<CGAL::Polyhedron_3<CGAL::Epeck>>>>::rebuild<std::__wrap_iter<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>>> *>, CGAL::Polyhedron_3<CGAL::Epeck> &>' requested here
tree.rebuild( my_hedges.begin(), my_hedges.end(), graph );
^
/Users/armando/SetSolver_git/SetSolver/projects/helperprograms/test_AABB_tree/test_AABB_tree_3_to_post.C:132:3: note: in instantiation of function template specialization 'run<CGAL::Epeck, CGAL::Polyhedron_3<CGAL::Epeck>>' requested here
run<K>(polyhedron);
^
/Users/armando/SetSolver_hg/CGAL-4.14.3/include/CGAL/AABB_halfedge_graph_segment_primitive.h:112:6: note: candidate function not viable: no known conversion from 'CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>>>' to 'CGAL::AABB_halfedge_graph_segment_primitive<CGAL::Polyhedron_3<CGAL::Epeck>>::ED' (aka 'HDS_edge<In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>>>>') for 1st argument
ED make_id(ED ed, const HalfedgeGraph&, Tag_true)
^
/Users/armando/SetSolver_hg/CGAL-4.14.3/include/CGAL/AABB_halfedge_graph_segment_primitive.h:117:39: note: candidate function not viable: no known conversion from 'CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>>>' to 'CGAL::AABB_halfedge_graph_segment_primitive<CGAL::Polyhedron_3<CGAL::Epeck>>::ED' (aka 'HDS_edge<In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int>>>>>>>>') for 1st argument
std::pair<ED, const HalfedgeGraph*> make_id(ED ed, const HalfedgeGraph& fg, Tag_false)
^
1 error generated.
make[2]: *** [projects/helperprograms/test_AABB_tree/CMakeFiles/test_AABB_tree_3_to_post.dir/test_AABB_tree_3_to_post.C.o] Error 1
make[1]: *** [projects/helperprograms/test_AABB_tree/CMakeFiles/test_AABB_tree_3_to_post.dir/all] Error 2
make: *** [all] Error 2
*/
--
C. Armando Duarte, Ph.D.
Nathan Newmark Distinguished Professor
Dept. Civil and Environmental Engin.
2118 Newmark Laboratory MC 250
University of Illinois at Urbana-Champaign
205 North Mathews Av.
Urbana, Illinois 61801 USA
http://gfem.cee.illinois.edu/<http://gfem.cee.illinois.edu/>
https://www.youtube.com/channel/UC6wlfOnwRTYD0Tb_rfDTbTA
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
C.
Armando
Duarte, Ph.D.
Nathan Newmark Distinguished Professor
Dept.
Civil
and Environmental Engin.
2118 Newmark Laboratory MC 250
University of Illinois at Urbana-Champaign
205 North Mathews Av.
Urbana, Illinois 61801 USA
http://gfem.cee.illinois.edu/
https://www.youtube.com/channel/UC6wlfOnwRTYD0Tb_rfDTbTA
- [cgal-discuss] Unreported breaking change in CGAL 4.14?, Armando Duarte, 01/04/2024
- Re: [cgal-discuss] Unreported breaking change in CGAL 4.14?, Sebastien Loriot, 01/04/2024
- Re: [cgal-discuss] Unreported breaking change in CGAL 4.14?, Armando Duarte, 01/04/2024
- Re: [cgal-discuss] Unreported breaking change in CGAL 4.14?, Sebastien Loriot, 01/04/2024
Archive powered by MHonArc 2.6.19+.