S2ContainsPointQuery.shapeContains

Returns true if the given shape contains the point "p" under the vertex model specified (OPEN, SEMI_OPEN, or CLOSED).

REQUIRES: "shape" belongs to index().

  1. bool shapeContains(S2Shape shape, S2Point p)
    class S2ContainsPointQuery(IndexT)
    bool
    shapeContains
  2. bool shapeContains(Iterator it, S2ClippedShape clipped, S2Point p)

Meta