[
https://issues.apache.org/jira/browse/LUCENE-7157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222743#comment-15222743
]
Robert Muir commented on LUCENE-7157:
-------------------------------------
Karl: i also would like to know if we solve your problem by refining docs to
say: outer rings should be clockwise, holes counter-clockwise. It would be
great to enforce this as well, if we had a simple static method that could
check a Polygon[] and ensure everything is well-formed. We would have to fix
some tests.
Keep in mind i didn't introduce the docs that say either order is acceptable. I
merely moved methods around, and either works at the moment because of that.
> Geo3DPoint implementation should pay attention to the ordering of lat/lon
> points
> --------------------------------------------------------------------------------
>
> Key: LUCENE-7157
> URL: https://issues.apache.org/jira/browse/LUCENE-7157
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Karl Wright
>
> The LatLonPoint API implementation pays attention to the order of the points;
> "clockwise" means one side of the polygon boundary, and "counterclockwise"
> means the complement. We need to use that in Geo3DPoint and convert into
> whatever the underlying GeoPolygonFactory method requires.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]