类 BoundaryNorm
- java.lang.Object
-
- org.meteoinfo.geometry.colors.Normalize
-
- org.meteoinfo.geometry.colors.BoundaryNorm
-
public class BoundaryNorm extends Normalize
Generate a colormap index based on discrete intervals
-
-
构造器概要
构造器 构造器 说明 BoundaryNorm(Array boundaries, int nColors, ExtendType extendType)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Numberapply(double v)Normalize a valueArrayapply(Array a)Normalize the data arrayintgetNRegions()Get number of color regionsdoubleinverse(double v)Inverse data valueArrayinverse(Array a)Inverse data array-
从类继承的方法 org.meteoinfo.geometry.colors.Normalize
autoScale, autoScaleNull, getMaxValue, getMinValue, isClip, isScaled, setClip, setMaxValue, setMinValue
-
-
-
-
构造器详细资料
-
BoundaryNorm
public BoundaryNorm(Array boundaries, int nColors, ExtendType extendType)
Constructor- 参数:
boundaries- BoundariesnColors- Number of colorsextendType- Extend type
-
-
方法详细资料
-
getNRegions
public int getNRegions()
Get number of color regions- 返回:
- Number of color regions
-
inverse
public double inverse(double v)
从类复制的说明:NormalizeInverse data value
-
-