14 #ifndef BASICTOOL_GEOLINESEGMENT_H 15 #define BASICTOOL_GEOLINESEGMENT_H 55 void Start(
const double x,
const double y,
const double z);
56 void End(
const double x,
const double y,
const double z);
69 template <
class T,
class U>
Representation of a simple 3D line segment Defines a finite 3D straight line by having the start and ...
const Vector_t Dir() const
Direction getter.
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
LineSegment LineSegment_t
Class def header for a class Point and Vector.
LineSegment(const T &start, const U &end)
Alternative ctor using template (3)
const Point_t & End() const
End getter.
LineSegment()
Default constructor.
Point_t _end
End position of a line.
const Point_t & Start() const
Start getter.
Point_t _start
Start position of a line.
void DirReset()
Internal function to reset direction.
virtual ~LineSegment()
Default destructor.