libigl v2.5.0
Loading...
Searching...
No Matches
triangle_triangle_squared_distance.h File Reference
#include "../../igl_inline.h"
#include <CGAL/Triangle_3.h>
#include <CGAL/Point_3.h>
#include "triangle_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 >
bool igl::copyleft::cgal::triangle_triangle_squared_distance (const CGAL::Triangle_3< Kernel > &T1, const CGAL::Triangle_3< Kernel > &T2, CGAL::Point_3< Kernel > &P1, CGAL::Point_3< Kernel > &P2, typename Kernel::FT &d)
 Given two triangles T1 and T2 find the points on each of closest approach and the squared distance thereof.