Class SegmentDensityMap
- java.lang.Object
-
- uk.ac.rdg.resc.edal.graphics.style.SegmentDensityMap
-
- All Implemented Interfaces:
DensityMap
public class SegmentDensityMap extends Object implements DensityMap
-
-
Constructor Summary
Constructors Constructor Description SegmentDensityMap(int nLevels, SLDRange range, float minDensity, float maxDensity, Float belowMinDensity, Float aboveMaxDensity, float noDataDensity)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getDensity(Number value)
Float
getMaxValue()
Float
getMinValue()
static void
main(String[] args)
-
-
-
Constructor Detail
-
SegmentDensityMap
public SegmentDensityMap(int nLevels, SLDRange range, float minDensity, float maxDensity, Float belowMinDensity, Float aboveMaxDensity, float noDataDensity) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-
Method Detail
-
getDensity
public float getDensity(Number value) throws OperationNotSupportedException
- Specified by:
getDensity
in interfaceDensityMap
- Throws:
OperationNotSupportedException
-
getMinValue
public Float getMinValue()
- Specified by:
getMinValue
in interfaceDensityMap
-
getMaxValue
public Float getMaxValue()
- Specified by:
getMaxValue
in interfaceDensityMap
-
-