S2Polygon.findValidationError

Returns true if this is *not* a valid polygon and sets "error" appropriately. Otherwise returns false and leaves "error" unchanged.

Note that in error messages, loops that represent holes have their edges numbered in reverse order, starting from the last vertex of the loop.

REQUIRES: error != nullptr

class S2Polygon
bool
findValidationError

Meta