src/main/java/de/javagl/geom/Rectangles.java
/**
     * Returns the minimum of the given numbers 
     * 
     * @param d0 The first number
     * @param d1 The second number
     * @param d2 The third number
     * @param d3 The fourth number
     * @return The result
     */
Returns the minimum of the given numbers


Returns the minimum of the given numbers
private static double min(double d0, double d1, double d2, double d3)
    {
        double min = d0;
        if (d1 < min)
        {
            min = d1;
        }
        if (d2 < min)
        {
            min = d2;
        }
        if (d3 < min)
        {
            min = d3;
        }
        return min;
    }
private static double min ( double d0 , double d1 , double d2 , double d3 ) { double min = d0 ; if ( d1 < min ) { min = d1 ; } if ( d2 < min ) { min = d2 ; } if ( d3 < min ) { min = d3 ; } return min ; }
Returns the minimum of the given numbers
Returns the minimum of the given numbers