iverase commented on code in PR #946:
URL: https://github.com/apache/lucene/pull/946#discussion_r892480730
##########
lucene/core/src/java/org/apache/lucene/geo/Tessellator.java:
##########
@@ -1444,6 +1471,71 @@ public static final boolean pointInPolygon(
return false;
}
+ /**
+ * Implementation of this interface will receive calls with internal data at
each step of the
+ * triangulation algorithm. This is of use for debugging complex cases, as
well as gaining insight
+ * into the way the algorithm works. Data provided includes a status string
containing the current
+ * mode, list of points representing the current linked-list of internal
nodes used for
+ * triangulation, and a list of triangles so far created by the algorithm.
+ */
+ public interface Monitor {
+ String FAILED = "FAILED";
+ String COMPLETED = "COMPLETED";
Review Comment:
static?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]