14 #ifndef BASICTOOL_GEOLINESEGMENT_H 15 #define BASICTOOL_GEOLINESEGMENT_H 55 void Start(
double const x,
double const y,
double const z);
56 void End(
double const x,
double const y,
double const z);
69 template <
class T,
class U>
Point_t const & Start() const
Start getter.
Representation of a simple 3D line segment Defines a finite 3D straight line by having the start and ...
Vector_t const 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(T const &start, U const &end)
Alternative ctor using template (3)
LineSegment()
Default constructor.
Point_t _end
End position of a line.
Point_t _start
Start position of a line.
void DirReset()
Internal function to reset direction.
Point_t const & End() const
End getter.
virtual ~LineSegment()
Default destructor.