From 1d201f3c18ef150132e329bac6bb8ecc3ca8c4e0 Mon Sep 17 00:00:00 2001 From: Karl Wright Date: Thu, 12 Apr 2018 23:32:46 -0400 Subject: [PATCH] LUCENE-8245: Make precommit happy, again. --- .../org/apache/lucene/spatial3d/geom/SidedPlane.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 238933c3a84..61d561d421b 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);