toys... --kazu
...Merge branch 'geoalgo_update' of github.com:/larlight/larlite into geoalgo_update
updates to GeoAlgo...work in progress! --David Caratelli
Fix + adding a template push_back to Trajectory --kazu
Add Trajectory += operator. Also protection against adding the identical point. Accordingly Vector now has less operator --kazu
some compiler guard name change. Func renaming to BoxOverlap, and used std::swap in _Swap_ --kazu
More template support --kazu
more updates on GeoAlgo --David Caratelli
..Merge branch 'geoalgo_update' of github.com:/larlight/larlite into geoalgo_update
Add geoalgo namespace --kazu
GeoAlgo updates --David Caratelli
GeoAlgo functions expanded...now debug --David Caratelli
unit test example --kazu
0) Inside DistanceAlgo and IntersectionAlgo... use Vector::_Dist_ to find a distance between 2 points w/o dimensionality check. Use Vector::Dist to for w/ dimensionality check.
1) I added a check for 2 points in Line class to be distinct.
2) I added a Dir() function in DirectedLine. Please use it when direction matters (it should, since otherwise one should use Line object)
3) Optimized DistanceAlgo by replacing some object instantiation by using reference (creating Vector instance is not very cheap when we care speed, so use reference when possible... for instance, to use a start point of a line segment, "auto const& pt = hline.Start()" uses less resource than "Vector pt = hline.Start();")
4) Introduced kMAX_DOUBLE and kMIN_DOUBLE ... useful for setting default max/min values. kMIN_DOUBLE is the most negative value btw. Not 0.

--kazu
Optimized by avoiding unnecessary object contruction --kazu
updates --David Caratelli
Mistake: Dist=>SqDist... --kazu
Adding script to test DistanceAlgo --David Caratelli
Add normalize and dir method --kazu
Point & Segment SqDist & ClosestPoint fixed --David Caratelli