(package private) static boolean
Given an S2ShapeIndex containing a set of loops, return true if any loop has a
self-intersection (including duplicate vertices) or crosses any other loop (including vertex
crossings and duplicate edges) and set "error" to a human-readable error message.
(package private) static boolean
Returns true if any of the given loops crosses a different loop (including vertex crossings) or
two loops share a common edge, and sets "error" to a human-readable error message.
private boolean
Returns true if there is an error in the loop nesting hierarchy.
(package private) static boolean
Test for crossings between all edge pairs that do not share a vertex.
(package private) static boolean
Given an S2ShapeIndex containing a single loop, return true if the loop has a self-intersection
(including duplicate vertices) and set "error" to a human-readable error message.
(package private) static boolean
Returns true if any of the given loops has a self-intersection (including a duplicate vertex),
and set "error" to a human-readable error message.
boolean
Returns true if this is *not* a valid loop and sets error
appropriately.
boolean
Returns true if this is *not* a valid polygon and sets error
appropriately.
boolean
Like findValidationError(), but skips any checks that would require building the S2ShapeIndex
(i.e., self-intersection tests).
(package private) static boolean
Given two loop edges for which RobustCrossing returned a non-negative result "crossing",
returns true if there is a crossing and sets "error" to a human-readable error message,
otherwise returns false.