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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedVA , typename DerivedFA , typename DerivedVB , typename DerivedFB , typename Scalar >
void igl::hausdorff (const Eigen::MatrixBase< DerivedVA > &VA, const Eigen::MatrixBase< DerivedFA > &FA, const Eigen::MatrixBase< DerivedVB > &VB, const Eigen::MatrixBase< DerivedFB > &FB, Scalar &d)
 Compute the Hausdorff distance between mesh (VA,FA) and mesh (VB,FB).
 
template<typename DerivedV , typename Scalar >
void igl::hausdorff (const Eigen::MatrixBase< DerivedV > &V, const std::function< Scalar(const Scalar &, const Scalar &, const Scalar &)> &dist_to_B, 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).