AnsweredAssumed Answered

Is there a performance difference between IHitTest and IProximityOperator?

Question asked by eliprandi on Nov 3, 2014
Latest reply on Nov 4, 2014 by ebrimhall

I came across some old code in our code base that first looks if a geometry/shape implements IHitTest. If it does, it uses HitTest(...) to determine the distance between the two geometries. If it does not implement IHitTest, it uses IProximityOperator.ReturnDistance(...).

Knowing that we are only interested in the distance between the two features/geometries, is there a recommendation as to which to use IHitTest or IProximityOperator ?