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>
93 Point const& startA, Vector
const& dirA,
94 Point const& startB, Vector
const& dirB
135 template <
typename Po
int,
typename Vector>
137 Point const& startA, Vector
const& dirA,
138 Point const& startB, Vector
const& dirB
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.
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
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.
double offset1
Distance from reference point of first line.