#include "LHCbMath/GeomFun.icpp"
Include dependency graph for GeomFun.h:
Go to the source code of this file.
Namespaces | |
namespace | Gaudi |
namespace | Gaudi::Math |
Defines | |
#define | LHCBMATH_GEOMFUN_H 1 |
Functions | |
template<typename aLine, typename aPlane, typename aPoint> | |
bool | Gaudi::Math::intersection (const aLine &line, const aPlane &plane, aPoint &intersect, double &mu) |
calculate intersection point between a aLine and aPlane. | |
template<typename aLine, typename aPlane> | |
bool | Gaudi::Math::intersection (const aPlane &plane0, const aPlane &plane1, aLine &intersect) |
Calculate aLine, the intersection of two aPlanes pane0 and plane1. | |
template<typename aPoint, typename aPlane> | |
bool | Gaudi::Math::intersection (const aPlane &plane0, const aPlane &plane1, const aPlane &plane2, aPoint &intersect) |
Calculate aPoint, the intersection of three aPlanes. | |
template<typename aPoint, typename aLine> | |
double | Gaudi::Math::impactParameter (const aPoint &point, const aLine &line) |
Return the distance between point and line. | |
template<typename aLine, typename bLine> | |
double | Gaudi::Math::distance (const aLine &line0, const bLine &line1) |
Compute the distance between two lines. | |
template<typename aLine, typename bLine, typename aPoint> | |
bool | Gaudi::Math::closestPoints (const aLine &line0, const bLine &line1, aPoint &p0, aPoint &p1) |
Get nearest aPoints p0 and p1 between aLines line0 and abd bLine line2 such that p0 = line0.beginPoint() + mu0 * line0.direction() p1 = line1.beginPoint() + mu1 * line1.direction(). | |
template<typename aLine, typename aPoint> | |
double | Gaudi::Math::closestPointParam (const aPoint &point, const aLine &line) |
Return scalar parameter defining the point on aLine which is closest to an aPoint, such that closest point = line.beginPoint() + scalar * line.direction(). | |
template<typename aLine, typename aPoint> | |
aPoint | Gaudi::Math::closestPoint (const aPoint &point, const aLine &line) |
Return aPoint on aLine which is closest to an aPoint. | |
template<typename aLine, typename bLine> | |
bool | Gaudi::Math::closestPointParams (const aLine &line0, const bLine &line1, double &mu0, double &mu1) |
Calculate scalar parameters defining points of nearest approach between aLine line0 and bLine line1. | |
template<typename aLine, typename bLine> | |
bool | Gaudi::Math::parallel (const aLine &line0, const bLine &line1) |
Estimate whether two lines are parallel Use dot product of line0.direction() and line1.direction() = 1. |