11 const double dirx,
const double diry,
const double dirz)
13 ,
_dir (dirx, diry, dirz)
20 if(start.size()!=3 || dir.size()!=3)
45 throw GeoAlgoException(
"<<Normalize>> cannot normalize 0-length direction vector!");
const Point_t & Start() const
Start getter.
Class def header for a class HalfLine.
Point_t _start
Beginning of the half line.
double Length() const
Compute the length of the vector.
const Vector_t & Dir() const
Direction getter.
void Normalize()
Normalize direction.
HalfLine()
Default constructor.
Vector_t _dir
Direction of the half line from _start.