类 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, ExtendType extendType)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Numberapply(Number v)Normalize a valueArrayapply(Array a)Normalize the data arrayArraygetBoundaries()Get boundariesExtendTypegetExtendType()Get extend typeintgetNRegions()Get number of color regionsintgetOffset()Get offsetintgetSize()Get boundaries sizedoubleinverse(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, ExtendType extendType)
Constructor- 参数:
boundaries- BoundariesextendType- Extend type
-
-
方法详细资料
-
getBoundaries
public Array getBoundaries()
Get boundaries- 返回:
- Boundaries
-
getExtendType
public ExtendType getExtendType()
Get extend type- 返回:
- Extend type
-
getSize
public int getSize()
Get boundaries size- 返回:
- Boundaries size
-
getOffset
public int getOffset()
Get offset- 返回:
- The offset
-
getNRegions
public int getNRegions()
Get number of color regions- 返回:
- Number of color regions
-
inverse
public double inverse(double v)
从类复制的说明:NormalizeInverse data value
-
-