接口 IRasterValues

IRasterValues interface

提供对栅格波段值的访问。

public interface IRasterValues

属性

名称描述
Item { get; }获取波段值,类型为 double

方法

名称描述
AsBoolean(int)将指定波段数据转换为 bool 值。
AsByte(int)将指定波段数据转换为 byte 值。
AsDouble(int)将指定波段数据转换为 double 值。
AsFloat(int)将指定波段数据转换为 float 值。
AsInteger(int)将指定波段数据转换为 int 值。
AsLong(int)将指定波段数据转换为 long 值。
AsRawBits()获取所有波段值的原始位。
AsShort(int)将指定波段数据转换为 short 值。
EqualsNoData(int)检查该值是否在指定波段中表示背景或“无数据”。
GetDataType(int)获取值的类型。
IsNull(int)检查在指定波段中是否设置了栅格值。

另见