code: @Pure
  	public static int epsilonCompareToDistance(double distance1, double distance2) {
  		final double min = distance2 - distancePrecision;
  		final double max = distance2 + distancePrecision;
  		if (distance1 >= min && distance1 <= max) {
  			return 0;
  		}
  		if (distance1 < min) {
  			return -1;
  		}
  		return 1;
  	}
docs: Replies if the specified distances are approximatively equal,
  less or greater than.
  
  @param distance1 the first distance.
  @param distance2 the second distance.
  @return a negative value if the parameter <var>distance1</var> is
  lower than <var>distance2</var>, a positive if <var>distance1</var>
  is greater than <var>distance2</var>, zero if the two parameters
  are approximatively equal.