@Override
public Side whichSide(final ReadOnlyPlane plane) {
final ReadOnlyVector3 planeNormal = plane.getNormal();
final double fRadius = Math.abs(_extent.getX() * (planeNormal.dot(_xAxis)))
+ Math.abs(_extent.getY() * (planeNormal.dot(_yAxis)))
+ Math.abs(_extent.getZ() * (planeNormal.dot(_zAxis)));
final double fDistance = plane.pseudoDistance(_center);
if (fDistance <= -fRadius) {
return Plane.Side.Inside;
} else if (fDistance >= fRadius) {
return Plane.Side.Outside;