API Documentation
Loading...
Searching...
No Matches
Distance.hpp File Reference
#include <NDEVR/Polygon.h>
#include <NDEVR/PolyLine.h>
#include <NDEVR/Plane.h>
#include <NDEVR/Intersection.h>
Include dependency graph for Distance.hpp:

Go to the source code of this file.

Classes

class  Distance
 Dummy class for including distance functions. More...
 

Namespaces

namespace  NDEVR
 

Functions

template<class t_precision , uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distance (const LineSegment< t_dims, t_type > &line, const Vector< t_dims, t_type > &vertex)
 
template<class t_precision , uint01 t_dims, class t_type , class t_vertex >
t_precision distance (const LineSegment< t_dims, t_type, t_vertex > &left, const LineSegment< t_dims, t_type, t_vertex > &right, t_precision epsilon=cast< t_precision >(0))
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distance (const Plane< t_dims, t_type > &plane, const Vertex< t_dims, t_vertex > &vertex)
 
template<class epsilon_type , uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distance (const t_vertex &vertex, const LineSegment< t_dims, t_type, t_vertex > &line)
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distanceSquared (const Bounds< t_dims, t_type, t_vertex > &, const Triangle< t_dims, t_type, t_vertex > &)
 
template<uint01 t_dims, class t_type , class t_vertex >
t_type distanceSquared (const Bounds< t_dims, t_type, t_vertex > &a, const Bounds< t_dims, t_type, t_vertex > &b)
 
template<uint01 t_dims, class t_type , class t_vertex >
t_type distanceSquared (const Bounds< t_dims, t_type, t_vertex > &bounds, const Vector< t_dims, t_type > &vertex)
 
template<uint01 t_dims, class t_type , class t_vertex_a , class t_vertex_b >
t_type distanceSquared (const Bounds< t_dims, t_type, t_vertex_a > &bounds, const LineSegment< t_dims, t_type, t_vertex_b > &line)
 
template<uint01 t_dims, class t_type , class t_vertex >
t_type distanceSquared (const LineSegment< t_dims, t_type, t_vertex > &left, const LineSegment< t_dims, t_type, t_vertex > &right, const t_type &epsilon=cast< t_type >(0))
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distanceSquared (const LineSegment< t_dims, t_type, t_vertex > &line, const Triangle< t_dims, t_type, t_vertex > &tri)
 
template<uint01 t_dims, class t_type , class t_vertex_a , class t_vertex_b >
t_type distanceSquared (const LineSegment< t_dims, t_type, t_vertex_a > &line, const Bounds< t_dims, t_type, t_vertex_b > &bounds)
 
template<class t_type , class t_other_type >
t_type distanceSquared (const Polygon< t_type > &poly, const t_other_type &original_object)
 
template<uint01 t_dims, class t_type , class t_other_type >
t_type distanceSquared (const Polyline< t_dims, t_type > &poly, const t_other_type &original_object)
 
template<class t_type , class t_other_type >
t_type distanceSquared (const t_other_type &original_object, const Polygon< t_type > &poly)
 
template<uint01 t_dims, class t_type , class t_other_type >
t_type distanceSquared (const t_other_type &original_object, const Polyline< t_dims, t_type > &poly)
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distanceSquared (const t_vertex &vertex, const Triangle< t_dims, t_type, t_vertex > &tri)
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distanceSquared (const Triangle< t_dims, t_type, t_vertex > &, const Bounds< t_dims, t_type, t_vertex > &)
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distanceSquared (const Triangle< t_dims, t_type, t_vertex > &tri, const LineSegment< t_dims, t_type, t_vertex > &line)
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distanceSquared (const Triangle< t_dims, t_type, t_vertex > &tri, const t_vertex &vertex)
 
template<uint01 t_dims, class t_type , class t_vertex >
t_type distanceSquared (const Vector< t_dims, t_type > &vertex, const Bounds< t_dims, t_type, t_vertex > &bounds)