nknize commented on code in PR #809:
URL: https://github.com/apache/lucene/pull/809#discussion_r854196239
##########
lucene/core/src/java/org/apache/lucene/geo/Polygon2D.java:
##########
@@ -257,10 +257,13 @@ public WithinRelation withinLine(
boolean ab,
double bX,
double bY) {
- if (ab == true
Review Comment:
> Yes, GeometryCollection / MultiPolygon, etc...
We shouldn't have a problem with MultiPolygon since `The interiors of 2
Polygons that are elements of a MultiPolygon may not intersect.` ([OGC, Simple
Features Specification 1.1](https://portal.ogc.org/files/?artifact_id=829)) So
I think this should only be a valid concern for GeometryCollection?

--
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]