GeoDirectedLine.cxx
Go to the documentation of this file.
3 
4 namespace geoalgo {
5 
7  {}
8 
9  DirectedLine::DirectedLine(const double x, const double y, const double z,
10  const double dirx, const double diry, const double dirz)
11  : Line( x, y, z, x+dirx, y+diry, z+dirz)
13 
15  : Line( pt, pt+dir)
17 
19  : Line( l.Start(), l.Start()+l.Dir() )
21 
23  { return _pt2 - _pt1; }
24 
25 }
Class def header for a class HalfLine.
DirectedLine()
Default ctor.
string dir
static QStrList * l
Definition: config.cpp:1044
Point_t _pt1
First point denoting infinite line.
Definition: GeoLine.h:61
Vector_t Dir() const
Representation of a 3D infinite line. Defines an infinite 3D line by having 2 points which completely...
Definition: GeoLine.h:27
Representation of a 3D semi-infinite line. Defines a semi-infinite 3D line by having a start point (P...
Definition: GeoHalfLine.h:30
Vector_t _pt2
Second point denoting infinite line.
Definition: GeoLine.h:62
list x
Definition: train.py:276
Class def header for a class DirectedLine.
void check_and_raise(const Point_t &p1, const Point_t &p2) const
Compatibility check.
Definition: GeoLine.cxx:41
#define Start
Definition: config.cpp:1229