Pathfinder
Line3.h
Go to the documentation of this file.
1 
10 #ifndef LINE3_H
11 #define LINE3_H
12 
13 #include "Using.h"
14 
15 namespace Pathfinder {
16 
20  struct Line3 {
21 
25  Geometry::Vec3 v;
26 
27 
31  Geometry::Vec3 w;
32 
33 
44  Geometry::Vec3
45  eval(
46  const float& r
47  );
48 
49  };
50 
51 }
52 
53 #endif
Definition: AABB.cpp:21
Geometry::Vec3 eval(const float &r)
Evaluate the line function for a given r.
Definition: Line3.cpp:14
Geometry::Vec3 v
The support vector.
Definition: Line3.h:25
This file provides using and enum declarations.
This struct represents a 3D line of the form u = v + rw.
Definition: Line3.h:20
Geometry::Vec3 w
The direction vector.
Definition: Line3.h:31