1 #ifndef BASICTOOL_GEOLINESEGMENT_CXX
2 #define BASICTOOL_GEOLINESEGMENT_CXX
15 const double end_x,
const double end_y,
const double end_z )
16 : _start ( start_x, start_y, start_z )
17 , _end ( end_x, end_y, end_z )
26 if(start.size()!=3 || end.size()!=3)
27 throw GeoAlgoException(
"LineSegment ctor accepts only 3D Point!");
process_name opflash particleana ie ie ie z
process_name opflash particleana ie x
const Vector_t Dir() const
Direction getter.
recob::tracking::Point_t Point_t
process_name opflash particleana ie ie y
const Point_t & End() const
End getter.
auto end(FixedBins< T, C > const &) noexcept
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.
recob::tracking::Vector_t Vector_t