+ 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
This is to access the face/edge/point status of the nearest at the
same time to ensure a consistent result.
Using getVolumeType query in distanceSurface, not simple normal
dot-product comparison, fails on edges.