Function S2Builder.addIsFullPolygonPredicate
For layers that will be assembled into polygons, this method specifies a predicate that will be called to determine whether the polygon is empty or full except for the given degeneracies. (See IsFullPolygonPredicate above.)
void addIsFullPolygonPredicate
(
bool function(in s2 .builder .graph .Graph, ref s2 .s2error .S2Error) predicate
);
This method should be called at most once per layer; additional calls simply overwrite the previous value for the current layer.
The default implementation sets an appropriate error and returns false (i.e., degenerate polygons are assumed to be empty).