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 floatgetDensity(Number value)FloatgetMaxValue()FloatgetMinValue()static voidmain(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:
 getDensityin interfaceDensityMap- Throws:
 OperationNotSupportedException
 
- 
getMinValue
public Float getMinValue()
- Specified by:
 getMinValuein interfaceDensityMap
 
- 
getMaxValue
public Float getMaxValue()
- Specified by:
 getMaxValuein interfaceDensityMap
 
 - 
 
 -