14 #ifndef BASICTOOL_GEOHALFLINE_H 15 #define BASICTOOL_GEOHALFLINE_H 53 void Start(
double const x,
double const y,
double const z);
54 void Dir(
double const x,
double const y,
double const z);
57 void Dir(TVector3
const& dir);
70 template <
class T,
class U>
79 if (_start.size() != 3)
85 void Dir(T
const& dir)
void Dir(T const &dir)
Dir setter template.
Class def header for a class GeoAlgoException.
Point_t _start
Beginning of the half line.
virtual ~HalfLine()
Default destructor.
Class def header for a class Point and Vector.
void Start(T const &pos)
Start setter template.
Vector_t const & Dir() const
Direction getter.
void Normalize()
Normalize direction.
HalfLine()
Default constructor.
HalfLine(T const &start, U const &dir)
Alternative ctor using template (3)
Representation of a 3D semi-infinite line. Defines a semi-infinite 3D line by having a start point (P...
Point_t const & Start() const
Start getter.
Vector Vector_t
Point has same feature as Vector.
Vector_t _dir
Direction of the half line from _start.