lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject lucene-solr:branch_7x: LUCENE-7955: GeoDegeneratePath did not compute endpoint bounding planes properly.
Date Thu, 14 Sep 2017 14:52:52 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x d15c5caee -> 0e1a846a4


LUCENE-7955: GeoDegeneratePath did not compute endpoint bounding planes properly.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/0e1a846a
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/0e1a846a
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/0e1a846a

Branch: refs/heads/branch_7x
Commit: 0e1a846a49265d33b2dc718b5a6c1b4c69b4d432
Parents: d15c5ca
Author: Karl Wright <DaddyWri@gmail.com>
Authored: Thu Sep 14 10:50:44 2017 -0400
Committer: Karl Wright <DaddyWri@gmail.com>
Committed: Thu Sep 14 10:52:46 2017 -0400

----------------------------------------------------------------------
 .../org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/0e1a846a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java
b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java
index eaceb26..861a2d4 100644
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePath.java
@@ -119,20 +119,20 @@ class GeoDegeneratePath extends GeoBasePath {
       if (i == 0) {
         // Starting endpoint
         final SegmentEndpoint startEndpoint = new SegmentEndpoint(currentSegment.start,
-          new SidedPlane(currentSegment.startCutoffPlane));
+          currentSegment.startCutoffPlane);
         endPoints.add(startEndpoint);
         this.edgePoints = new GeoPoint[]{currentSegment.start};
         continue;
       }
       
       endPoints.add(new SegmentEndpoint(currentSegment.start,
-        new SidedPlane(segments.get(i-1).endCutoffPlane),
-        new SidedPlane(currentSegment.startCutoffPlane)));
+        segments.get(i-1).endCutoffPlane,
+        currentSegment.startCutoffPlane));
     }
     // Do final endpoint
     final PathSegment lastSegment = segments.get(segments.size()-1);
     endPoints.add(new SegmentEndpoint(lastSegment.end,
-      new SidedPlane(lastSegment.endCutoffPlane)));
+      lastSegment.endCutoffPlane));
 
   }
 


Mime
View raw message