S2Polygon.approxDisjoint

Returns true if this polgyon is approximately disjoint from the given polyline. This is true if it is possible to avoid intersection by moving their vertices no further than "tolerance".

This implies that in borderline cases where there is a small overlap, this method returns true (i.e., they are approximately disjoint).

  1. bool approxDisjoint(S2Polygon b, S1Angle tolerance)
  2. bool approxDisjoint(S2Polyline b, S1Angle tolerance)
    class S2Polygon
    bool
    approxDisjoint

Meta