S2Polygon.approxContains - multiple declarations

Function S2Polygon.approxContains

Returns true if this polgyon (A) approximately contains the given other polygon (B). This is true if it is possible to move the vertices of B no further than "tolerance" such that A contains the modified B.

bool approxContains (
  S2Polygon b,
  S1Angle tolerance
);

For example, the empty polygon will contain any polygon whose maximum width is no more than "tolerance".

Function S2Polygon.approxContains

Returns true if this polgyon approximately contains the given polyline This is true if it is possible to move the polyline vertices no further than "tolerance" such that the polyline is now contained.

bool approxContains (
  in const(s2.s2polyline.S2Polyline) b,
  S1Angle tolerance
);