Exit condition for rays coinciding with faces or edges.