LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Utility for intersection of two 3D lines. More...
Go to the source code of this file.
Classes | |
struct | geo::IntersectionPointAndOffsets< Point > |
Data structure for return values of LineClosestPointAndOffsets() . More... | |
Namespaces | |
geo | |
Namespace collecting geometry-related classes utilities. | |
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.