12 const double x2,
const double y2,
const double z2)
43 if(p1.size()!=3)
throw GeoAlgoException(
"<<check_and_raise>> Pt1 is not 3 dimensional point!");
44 if(p2.size()!=3)
throw GeoAlgoException(
"<<check_and_raise>> Pt2 is not 3 dimensional point!");
45 if(p1 == p2)
throw GeoAlgoException(
"<<check_and_raise>> Two identical points not allowed for Line ctor!");
Class def header for a class GeoAlgoException.
Class def header for a class Line.
const Point_t & Pt2() const
Direction getter.
Point_t _pt1
First point denoting infinite line.
const Point_t & Pt1() const
Start getter.
Vector_t _pt2
Second point denoting infinite line.
Line()
Default constructor.
void check_and_raise(const Point_t &p1, const Point_t &p2) const
Compatibility check.