isInsideEdge = function(bounds, p, edgeID) {
            return insideEdgeConditions[edgeID](bounds, p);
          }
@private
@param {Rect} bounds
@param {Vec2D} p
@param {Number} edgeID
@return {Boolean}