S2Region.contains

Returns true if and only if the given point is contained by the region. The point 'p' is generally required to be unit length, although some subtypes may relax this restriction.

  1. bool contains(S2Cell cell)
  2. bool contains(S2Point p)
    interface S2Region
    bool
    contains
    ()

Meta