18 #include "StThreeVectorD.hh"
StThreeVectorD at(double pathlength) const
Point at a given path length along the line.
void setDirection(const StThreeVectorD &d)
Set the direction of the line to a given vector. The direction is normalized to the unit vector...
StThreeVectorD perigee(const StThreeVectorD &point) const
Perigee, i.e. Closest point on the line to a given point.
StThreeVectorD dca(const Line &line) const
DCA = Distance of Closest Approach to a given line.
double pathlength(const StThreeVectorD &point) const
Pathlength of a given point from the origin of the line.
StThreeVectorD direction() const
Direction vector of the line (normalized to the unit vector)
StThreeVectorD origin() const
Origin of the line.
pair< double, double > pathlengths(const Line &line) const
Pathlengths of the points of closest approach between the lines.
void setOrigin(const StThreeVectorD &o)
Set the origin of the line to a given point.