You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2018/04/16 17:20:59 UTC

[19/46] lucene-solr:jira/solr-11833: LUCENE-8245: Make precommit happy, again.

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/jira/solr-11833
Commit: 1d201f3c18ef150132e329bac6bb8ecc3ca8c4e0
Parents: 3d5f2f2
Author: Karl Wright <Da...@gmail.com>
Authored: Thu Apr 12 23:32:46 2018 -0400
Committer: Karl Wright <Da...@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);