@Test public void testToResolution() { final double resolution = new Scale(SCALE, CH1903, PDF_DPI).getResolution(); assertEquals(RESOLUTION, resolution, DELTA); assertEquals(SCALE, Scale.fromResolution(resolution, CH1903).getDenominator(PDF_DPI), DELTA); }
public Scale toResolution(final double newResolution) { return Scale.fromResolution(newResolution, this.unit); }
Scale implements Comparable<Scale> { public Scale toResolution(final double newResolution) { return Scale.fromResolution(newResolution, this.unit); } }
Scale implements Comparable<Scale> { public Scale toResolution(final double newResolution) { return Scale.fromResolution(newResolution, this.unit); } Scale(
            final double denominator,
            @Nonnull final CoordinateReferenceSystem projection,
            final double dpi);  Scale(final double denominator, @Nonnull final DistanceUnit unit, final double dpi); private  Scale(final double resolution, @Nonnull final DistanceUnit unit); private  Scale(final double resolution, @Nonnull final CoordinateReferenceSystem projection); }
Scale implements Comparable<Scale> { public Scale toResolution(final double newResolution) { return Scale.fromResolution(newResolution, this.unit); } Scale(
            final double denominator,
            @Nonnull final CoordinateReferenceSystem projection,
            final double dpi);  Scale(final double denominator, @Nonnull final DistanceUnit unit, final double dpi); private  Scale(final double resolution, @Nonnull final DistanceUnit unit); private  Scale(final double resolution, @Nonnull final CoordinateReferenceSystem projection); static double getDenominator(
            final boolean geodetic,
            final double scaleDenominator, @Nonnull final CoordinateReferenceSystem projection,
            final double dpi, final Coordinate position); static double getGeodeticDenominator(
            final double scaleDenominator, @Nonnull final CoordinateReferenceSystem projection,
            final double dpi, final Coordinate position); static Scale fromResolution(
            final double resolution, @Nonnull final DistanceUnit projectionUnit); static Scale fromResolution(
            final double resolution, @Nonnull final CoordinateReferenceSystem projection); double getResolution(); double getResolutionInInches(); DistanceUnit getUnit(); double getDenominator(
            final boolean geodetic, @Nonnull final CoordinateReferenceSystem projection,
            final double dpi, final Coordinate position); double getDenominator(final double dpi); double getDenominator(); double getGeodeticDenominator(
            @Nonnull final CoordinateReferenceSystem projection, final double dpi,
            final Coordinate position); Scale toResolution(final double newResolution); @Override int compareTo(final Scale scale); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
Scale implements Comparable<Scale> { public Scale toResolution(final double newResolution) { return Scale.fromResolution(newResolution, this.unit); } Scale(
            final double denominator,
            @Nonnull final CoordinateReferenceSystem projection,
            final double dpi);  Scale(final double denominator, @Nonnull final DistanceUnit unit, final double dpi); private  Scale(final double resolution, @Nonnull final DistanceUnit unit); private  Scale(final double resolution, @Nonnull final CoordinateReferenceSystem projection); static double getDenominator(
            final boolean geodetic,
            final double scaleDenominator, @Nonnull final CoordinateReferenceSystem projection,
            final double dpi, final Coordinate position); static double getGeodeticDenominator(
            final double scaleDenominator, @Nonnull final CoordinateReferenceSystem projection,
            final double dpi, final Coordinate position); static Scale fromResolution(
            final double resolution, @Nonnull final DistanceUnit projectionUnit); static Scale fromResolution(
            final double resolution, @Nonnull final CoordinateReferenceSystem projection); double getResolution(); double getResolutionInInches(); DistanceUnit getUnit(); double getDenominator(
            final boolean geodetic, @Nonnull final CoordinateReferenceSystem projection,
            final double dpi, final Coordinate position); double getDenominator(final double dpi); double getDenominator(); double getGeodeticDenominator(
            @Nonnull final CoordinateReferenceSystem projection, final double dpi,
            final Coordinate position); Scale toResolution(final double newResolution); @Override int compareTo(final Scale scale); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }