libigl v2.5.0
Loading...
Searching...
No Matches
point_segment_squared_distance.h File Reference
#include "../../igl_inline.h"
#include <CGAL/Segment_3.h>
#include <CGAL/Point_3.h>
#include "point_segment_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_segment_squared_distance (const CGAL::Point_3< Kernel > &P1, const CGAL::Segment_3< Kernel > &S2, CGAL::Point_3< Kernel > &P2, typename Kernel::FT &d)
 Given a point P1 and segment S2 find the points on each of closest approach and the squared distance thereof.