com.supermap.services.wmts

Class ScaleMember

  • java.lang.Object
    • com.supermap.services.wmts.ScaleMember


  • public class ScaleMember
    extends java.lang.Object
    

    the scale.

    The sub item of the general scale set (WellknownScale), which includes two attributes: scale denominator and pixel size, where the pixel size units have different definitions in different general scale sets.

    • Constructor Summary

      Constructors 
      Constructor and Description
      ScaleMember(double scaleDenominator, double pixelSize)
      The Constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      double getPixelSize()
      Gets the pixel size.
      double getScaleDenominator()
      Gets the scale denominator.
      void setPixelSize(double pixelSize)
      Sets the pixel size.
      void setScaleDenominator(double scaleDenominator)
      Sets the scale denominator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScaleMember

        public ScaleMember(double scaleDenominator,
                   double pixelSize)
        

        The Constructor.

        Parameters:
        scaleDenominator - scale denominator.
        pixelSize - pixel size.
    • Method Detail

      • setScaleDenominator

        public final void setScaleDenominator(double scaleDenominator)
        

        Sets the scale denominator.

        Parameters:
        scaleDenominator - scale denominator.
      • getScaleDenominator

        public final double getScaleDenominator()
        

        Gets the scale denominator.

        Returns:
        the scale denominator.
      • setPixelSize

        public final void setPixelSize(double pixelSize)
        

        Sets the pixel size.

        Parameters:
        pixelSize - pixel size.
      • getPixelSize

        public final double getPixelSize()
        

        Gets the pixel size.

        Returns:
        the pixel size.