Classes | Namespaces | Functions
LineClosestPoint.h File Reference

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< Pointgeo::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< Pointgeo::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...
 

Detailed Description

Utility for intersection of two 3D lines.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
See also
larcorealg/Geometry/LineClosestPoint.tcc, larcorealg/Geometry/WireGeo.h

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.