23 if (start.size() != 3 || dir.size() != 3)
71 if (!l)
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.