25template <
typename T,
size_t N>
class Line {
N-dimensional line segment defined by a start and end point.
Definition line.h:25
const Pt & end() const
Returns a const reference to the end point.
Definition line.h:59
const Pt & start() const
Returns a const reference to the start point.
Definition line.h:51
Line()=default
Default constructor. Both endpoints are default-constructed (zero).
Point< T, N > Pt
The Point type used for the endpoints of this Line.
Definition line.h:28
Line(const Pt &&s, const Pt &&e)
Move-constructs a Line from a start and end point.
Definition line.h:45
Line(const Pt &s, const Pt &e)
Constructs a Line from a start and end point.
Definition line.h:38
Dynamic array container wrapping std::vector.
Definition list.h:40
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19