libigl v2.5.0
Loading...
Searching...
No Matches
point_triangle_squared_distance.h File Reference
#include "../../igl_inline.h"
#include <CGAL/Triangle_3.h>
#include <CGAL/Point_3.h>
#include "point_triangle_squared_distance.cpp"

Go to the source code of this file.

Namespaces

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

Functions

template<typename Kernel >
void igl::copyleft::cgal::point_triangle_squared_distance (const CGAL::Point_3< Kernel > &P1, const CGAL::Triangle_3< Kernel > &T2, CGAL::Point_3< Kernel > &P2, typename Kernel::FT &d)
 Given a point P1 and triangle T2 find the points on each of closest approach and the squared distance thereof.