lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject [1/2] lucene-solr:master: LUCENE-8245: Make precommit happy, again.
Date Fri, 13 Apr 2018 03:33:55 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 0014f3af8 -> 71936db9f


LUCENE-8245: Make precommit happy, again.


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

Branch: refs/heads/master
Commit: 1d201f3c18ef150132e329bac6bb8ecc3ca8c4e0
Parents: 3d5f2f2
Author: Karl Wright <DaddyWri@gmail.com>
Authored: Thu Apr 12 23:32:46 2018 -0400
Committer: Karl Wright <DaddyWri@gmail.com>
Committed: Thu Apr 12 23:32:46 2018 -0400

----------------------------------------------------------------------
 .../org/apache/lucene/spatial3d/geom/SidedPlane.java    | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1d201f3c/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SidedPlane.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SidedPlane.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SidedPlane.java
index 238933c..61d561d 100755
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SidedPlane.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SidedPlane.java
@@ -234,12 +234,24 @@ public class SidedPlane extends Plane implements Membership {
     return sigNum == this.sigNum;
   }
 
+  /**
+   * Check whether a point is strictly within a plane.
+   * @param v is the point.
+   * @return true if within.
+   */
   public boolean strictlyWithin(final Vector v) {
     double evalResult = evaluate(v.x, v.y, v.z);
     double sigNum = Math.signum(evalResult);
     return sigNum == 0.0 || sigNum == this.sigNum;
   }
 
+  /**
+   * Check whether a point is strictly within a plane.
+   * @param x is the point x value.
+   * @param y is the point y value.
+   * @param z is the point z value.
+   * @return true if within.
+   */
   public boolean strictlyWithin(double x, double y, double z) {
     double evalResult = evaluate(x, y, z);
     double sigNum = Math.signum(evalResult);


Mime
View raw message