@Override public double realMin(final int d) { if (d != 0 && d != 1) throw new IllegalArgumentException( "Invalid dimension " + d); return d == 0 ? oval.getXBase() : oval.getYBase(); }
@Override public double realMax(final int d) { if (d != 0 && d != 1) throw new IllegalArgumentException( "Invalid dimension " + d); return d == 0 ? oval.getXBase() + oval.getFloatWidth() : oval.getYBase() + oval.getFloatHeight(); }