iverase commented on code in PR #946:
URL: https://github.com/apache/lucene/pull/946#discussion_r892487112


##########
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:
   I see, it is an interface so they are static and final by default, sorry :)



-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to