15 #ifndef LARCOREALG_GEOMETRY_LINECLOSESTPOINT_H 16 #define LARCOREALG_GEOMETRY_LINECLOSESTPOINT_H 28 template <
typename Po
int>
36 operator std::tuple<Point&, double&, double&>() noexcept
91 template <
typename Po
int,
typename Vector>
135 template <
typename Po
int,
typename Vector>
184 template <
typename Po
int,
typename UnitVector>
186 Point const& startA, UnitVector
const& dirA,
187 Point const& startB, UnitVector
const& dirB
237 template <
typename Po
int,
typename UnitVector>
239 Point const& startA, UnitVector
const& dirA,
240 Point const& startB, UnitVector
const& dirB
250 #include "larcorealg/Geometry/LineClosestPoint.tcc" 255 #endif // LARCOREALG_GEOMETRY_LINECLOSESTPOINT_H
IntersectionPointAndOffsets< Point > LineClosestPointAndOffsets(Point const &startA, Vector const &dirA, Point const &startB, Vector const &dirB)
Returns the point of a line that is closest to a second line.
double offset2
Distance from reference point of second line.
IntersectionPointAndOffsets< Point > LineClosestPointAndOffsetsWithUnitVectors(Point const &startA, UnitVector const &dirA, Point const &startB, UnitVector const &dirB)
Returns the point of a line that is closest to a second line.
Point LineClosestPointWithUnitVectors(Point const &startA, UnitVector const &dirA, Point const &startB, UnitVector const &dirB)
Returns the point of a line that is closest to a second line.
Point point
Intersection point.
Data structure for return values of LineClosestPointAndOffsets().
Point LineClosestPoint(Point const &startA, Vector const &dirA, Point const &startB, Vector const &dirB)
Returns the point of a line that is closest to a second line.
LArSoft geometry interface.
double offset1
Distance from reference point of first line.