Utility for intersection of two 3D lines. More...
#include <utility>
#include "larcorealg/Geometry/LineClosestPoint.tcc"
Go to the source code of this file.
Classes | |
struct | geo::IntersectionPointAndOffsets< Point > |
Data structure for return values of LineClosestPointAndOffsets() . More... | |
Namespaces | |
geo | |
LArSoft geometry interface. | |
Functions | |
template<typename Point , typename Vector > | |
IntersectionPointAndOffsets< Point > | geo::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. More... | |
template<typename Point , typename Vector > | |
Point | geo::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. More... | |
template<typename Point , typename UnitVector > | |
IntersectionPointAndOffsets< Point > | geo::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. More... | |
template<typename Point , typename UnitVector > | |
Point | geo::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. More... | |
Utility for intersection of two 3D lines.
This utility is used as implementation of detector wires, but it can stand on its own.
This library is header-only and (likely) no additional linkage.
Definition in file LineClosestPoint.h.