mirror of https://github.com/apache/lucene.git
LUCENE-8245: Make precommit happy, again.
This commit is contained in:
parent
3d5f2f24c3
commit
1d201f3c18
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue