- includeInteriors
bool includeInteriors()
Undocumented in source. Be warned that the author may not have intended to support it.
- setIncludeInteriors
void setIncludeInteriors(bool include_interiors)
Undocumented in source. Be warned that the author may not have intended to support it.
- useBruteForce
bool useBruteForce()
Undocumented in source. Be warned that the author may not have intended to support it.
- setUseBruteForce
void setUseBruteForce(bool use_brute_force)
Undocumented in source. Be warned that the author may not have intended to support it.
- setMaxError
bool setMaxError(S1ChordAngle max_error)
Undocumented in source. Be warned that the author may not have intended to support it.
- getCapBound
S2Cap getCapBound()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateMinDistance
bool updateMinDistance(S2Point p, S2MinDistance min_dist)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateMinDistance
bool updateMinDistance(S2Point v0, S2Point v1, S2MinDistance min_dist)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateMinDistance
bool updateMinDistance(S2Cell cell, S2MinDistance min_dist)
Undocumented in source. Be warned that the author may not have intended to support it.
- visitContainingShapes
bool visitContainingShapes(S2ShapeIndex query_index, ShapeVisitor visitor)
Undocumented in source. Be warned that the author may not have intended to support it.
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.set_include_interiors(false);
(see S2MinDistanceShapeIndexTarget for details).
This class is also available as S2ClosestPointQuery<Data>::ShapeIndexTarget. (It is defined here to avoid depending on the "Data" template argument.)