+ Make intersection and nearest functions functors. This makes adding
different intersection and nearest routines easier.
+ treeDataPrimitivePatch takes its tolerance as a constructor argument
+ Make treeDataTriSurface a typedef of treeDataPrimitivePatch
Conflicts:
src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C
src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C
src/meshTools/indexedOctree/treeDataTriSurface.C