9#ifndef IGL_COPYLET_CGAL_SUBMESH_AABB_TREE_H
10#define IGL_COPYLET_CGAL_SUBMESH_AABB_TREE_H
12#include "../../igl_inline.h"
16#include <CGAL/AABB_tree.h>
17#include <CGAL/AABB_traits.h>
18#include <CGAL/AABB_triangle_primitive.h>
19#include <CGAL/intersections.h>
20#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
43 const Eigen::PlainObjectBase<DerivedV>& V,
44 const Eigen::PlainObjectBase<DerivedF>& F,
45 const Eigen::PlainObjectBase<DerivedI>& I,
49 CGAL::AABB_triangle_primitive<
50 Kernel,
typename std::vector<
51 typename Kernel::Triangle_3 >::iterator > > > & tree,
52 std::vector<typename Kernel::Triangle_3 > & triangles,
53 std::vector<bool> & in_I);
58#ifndef IGL_STATIC_LIBRARY
59# include "submesh_aabb_tree.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void submesh_aabb_tree(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, const Eigen::PlainObjectBase< DerivedI > &I, CGAL::AABB_tree< CGAL::AABB_traits< Kernel, CGAL::AABB_triangle_primitive< Kernel, typename std::vector< typename Kernel::Triangle_3 >::iterator > > > &tree, std::vector< typename Kernel::Triangle_3 > &triangles, std::vector< bool > &in_I)
Build an AABB tree for a submesh indicated by a face selection list I of a full mesh (V,...