Package org.geotools.ysld.parse
Class ScaleRange
- Object
-
- ScaleRange
-
public class ScaleRange extends Object
Represents and provides utility methods for a scale range (e.g., "scale: [min, max]") that can be applied to a givenRule
.
-
-
Constructor Summary
Constructors Constructor Description ScaleRange(double minDenom, double maxDenom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTo(Rule r)
boolean
contains(double denom)
double
getMaxDenom()
double
getMinDenom()
String
toString()
-
-
-
Method Detail
-
applyTo
public void applyTo(Rule r)
-
contains
public boolean contains(double denom)
-
toString
public String toString()
- Overrides:
toString
in classObject
-
getMinDenom
public double getMinDenom()
-
getMaxDenom
public double getMaxDenom()
-
-