API Documentation
Loading...
Searching...
No Matches
Line.hpp File Reference
#include <NDEVR/BaseValues.h>
#include <NDEVR/Vertex.h>
Include dependency graph for Line.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LineSegment< t_dims, t_type, t_vertex >
 A line segment represented by two vertices, a start and end. More...
 

Namespaces

namespace  NDEVR
 

Functions

template<uint01 t_dims, class t_type , class t_vertex >
t_type distanceSquared (const LineSegment< t_dims, t_type, t_vertex > &line, const t_vertex &vertex)
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr t_type distanceSquared (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 distanceSquaredOptimized (const LineSegment< t_dims, t_type, t_vertex > &line, const t_vertex &vertex, const t_vertex &ray, const t_type &dot_ray)
 
template<uint01 t_dims, class t_type , class t_vertex >
constexpr bool equals (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))