libigl v2.5.0
Loading...
Searching...
No Matches
hausdorff.h File Reference
#include "../../igl_inline.h"
#include <Eigen/Dense>
#include "CGAL_includes.hpp"
#include <vector>
#include "hausdorff.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::copyleft
 
namespace  igl::copyleft::cgal
 

Functions

template<typename DerivedV , typename Kernel , typename Scalar >
void igl::copyleft::cgal::hausdorff (const Eigen::MatrixBase< DerivedV > &V, const CGAL::AABB_tree< CGAL::AABB_traits< Kernel, CGAL::AABB_triangle_primitive< Kernel, typename std::vector< CGAL::Triangle_3< Kernel > >::iterator > > > &treeB, const std::vector< CGAL::Triangle_3< Kernel > > &TB, Scalar &l, Scalar &u)
 Compute lower and upper bounds (l,u) on the Hausdorff distance between a triangle (V) and a pointset (e.g., mesh, triangle soup) given by a distance function handle (dist_to_B).