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.

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

Meta