Function larflow::reco::pointRayProjection3d

Function Documentation

double larflow::reco::pointRayProjection3d(const std::vector<double> &start, const std::vector<double> &dir, const std::vector<double> &testpt)

double version of pointRayProjection()

for use in python

Return
projected distance
Parameters
  • start: 3D start point of ray
  • dir: 3D direction of ray (doesn’t need to be unit normalized)
  • testpt: Test point