14 #ifndef BASICTOOL_GEOLINESEGMENT_H 15 #define BASICTOOL_GEOLINESEGMENT_H 36 LineSegment(
const double start_x,
const double start_y,
const double start_z,
37 const double end_x,
const double end_y,
const double end_z );
52 void Start(
const double x,
const double y,
const double z);
53 void End (
const double x,
const double y,
const double z);
68 template <
class T,
class U>
LineSegment(
const T& start,
const U& end)
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.
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.
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)
virtual ~LineSegment()
Default destructor.