12 #include "vector3d.hpp"
A vector.
Definition: vector3d.hpp:19
A vertex.
Definition: vertex.hpp:21
static const double b(const vertex &v1, const vertex &v2)
b coefficient.
Definition: vertex.cpp:105
~vertex()
vertex destructor.
Definition: vertex.cpp:32
static const double length(const vertex &v1, const vertex &v2, const vector3d &p)
Distance to a limiter face.
Definition: vertex.cpp:165
static void print(vertex *start)
Print out all vertices.
Definition: vertex.cpp:257
vertex(const vector3d point_)
vertex constructor.
Definition: vertex.cpp:21
static const double direction(const vertex &v, const vector3d &n, const vector3d &p)
Finds which side of the limiter face the point is on.
Definition: vertex.cpp:211
void insert(vertex *v)
Insert a new vertex.
Definition: vertex.cpp:44
static const double y_min(const vertex &v1, const vertex &v2, const vector3d &p)
Minimum distance in the y direction.
Definition: vertex.cpp:149
static const double x_min(const vertex &v1, const vertex &v2, const vector3d &p)
Minimum distance in the x direction.
Definition: vertex.cpp:133
static const double c(const vertex &v1, const vertex &v2)
c coefficient.
Definition: vertex.cpp:118
static void distance(vertex *start, const vector3d &p, std::vector< double > &d)
Find the distances to the limiter.
Definition: vertex.cpp:225
static const vector3d get_normal(const vertex &v1, const vertex &v2)
Normal to a line.
Definition: vertex.cpp:60
static const double a(const vertex &v1, const vertex &v2)
a coefficient.
Definition: vertex.cpp:92
static const bool in_range(const vertex &v1, const vertex &v2, const double x, const double y)
Finds if the line to the point is in range.
Definition: vertex.cpp:196