@Test public void testNoZeroPixelsPerUnit() { ScaleInfo scaleInfo; scaleInfo = new ScaleInfo(); Assert.assertTrue(scaleInfo.getPixelPerUnit() > 0); scaleInfo = new ScaleInfo(0); Assert.assertTrue(scaleInfo.getPixelPerUnit() > 0); }
public double getPixelPerUnit() { return pixelPerUnit; }
ScaleInfo implements IsInfo { public double getPixelPerUnit() { return pixelPerUnit; } }
ScaleInfo implements IsInfo { public double getPixelPerUnit() { return pixelPerUnit; } ScaleInfo();  ScaleInfo(double pixelPerUnit);  ScaleInfo(double numerator, double denominator);  ScaleInfo(ScaleInfo other); }
ScaleInfo implements IsInfo { public double getPixelPerUnit() { return pixelPerUnit; } ScaleInfo();  ScaleInfo(double pixelPerUnit);  ScaleInfo(double numerator, double denominator);  ScaleInfo(ScaleInfo other); double getPixelPerUnit(); void setPixelPerUnit(double pixelPerUnit); boolean isPixelPerUnitBased(); void setPixelPerUnitBased(boolean pixelPerUnitBased); double getNumerator(); void setNumerator(double numerator); double getDenominator(); void setDenominator(double denominator); double getConversionFactor(); @Deprecated void setConversionFactor(double conversionFactor); }
ScaleInfo implements IsInfo { public double getPixelPerUnit() { return pixelPerUnit; } ScaleInfo();  ScaleInfo(double pixelPerUnit);  ScaleInfo(double numerator, double denominator);  ScaleInfo(ScaleInfo other); double getPixelPerUnit(); void setPixelPerUnit(double pixelPerUnit); boolean isPixelPerUnitBased(); void setPixelPerUnitBased(boolean pixelPerUnitBased); double getNumerator(); void setNumerator(double numerator); double getDenominator(); void setDenominator(double denominator); double getConversionFactor(); @Deprecated void setConversionFactor(double conversionFactor); static final double PIXEL_PER_METER; static final double MINIMUM_PIXEL_PER_UNIT; static final double MAXIMUM_PIXEL_PER_UNIT; }