code: @Pure
  	public static boolean containsSphereAlignedBox(
  			double cx, double cy, double cz, double radius,
  			double bx, double by, double bz, double bsx, double bsy, double bsz) {
  		double rcx = (bx + bsx/2f);
  		double rcy = (by + bsy/2f);
  		double rcz = (bz + bsz/2f);
  		double farX;
  		if (cx<=rcx) farX = bx + bsx;
  		else farX = bx;
  		double farY;
  		if (cy<=rcy) farY = by + bsy;
  		else farY = by;
  		double farZ;
  		if (cz<=rcz) farZ = bz + bsz;
  		else farZ = bz;
  		return containsSpherePoint(cx, cy, cz, radius, farX, farY, farZ);
  	}
docs: Replies if an aligned box is inside in the sphere.
  
  @param cx is the center of the sphere.
  @param cy is the center of the sphere.
  @param cz is the center of the sphere.
  @param radius is the radius of the sphere.
  @param bx is the lowest corner of the box.
  @param by is the lowest corner of the box.
  @param bz is the lowest corner of the box.
  @param bsx is the X size of the box.
  @param bsy is the Y size of the box.
  @param bsz is the Z size of the box.
  @return <code>true</code> if the given box is inside the sphere;
  otherwise <code>false</code>.