Returns the maximum number of cells in the index for which it is faster to use brute force search rather than the hierarchical method.
Specifies whether distances should be measured to the boundary and interior of polygons (true) or only to polygon boundaries (false). The default is true.
Target subtype that computes the closest distance to an S2ShapeIndex (an arbitrary collection of points, polylines, and/or polygons).
By default, distances are measured to the boundary and interior of polygons in the S2ShapeIndex rather than to polygon boundaries only. If you wish to change this behavior, you may call:
target.setIncludeInteriors(false)