LUCENE-8245: Make precommit happy, again.

This commit is contained in:
Karl Wright 2018-04-12 23:32:46 -04:00
parent 3d5f2f24c3
commit 1d201f3c18
1 changed files with 12 additions and 0 deletions

View File

@ -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);