Interface IRaster<TValue>
The contract describing the all required metadata for a data object representing a single raster.
Assembly: Mars.Interfaces.dll
Syntax
public interface IRaster<TValue>
Type Parameters
Properties
|
Improve this Doc
View Source
CellHeight
Gets or sets the geographic height of a cell the projected units. Setting this will
automatically adjust the affine coefficient to a negative value.
Declaration
double CellHeight { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CellWidth
Gets or sets the geographic width of a cell in the projected units.
Declaration
double CellWidth { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Count
Gets the amount of cells with a concrete value (
is not equal
NoDataValue).
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Height
Gets the vertical count of the cells in the raster.
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Item[Int32, Int32]
Gets or sets the value on the current band, given a x and y index.
Declaration
TValue this[int x, int y] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
x |
The x coordinate of the cell |
System.Int32 |
y |
The y coordinate of the cell |
Property Value
|
Improve this Doc
View Source
NoDataValue
Gets or sets a float showing the no-data values.
Declaration
double? NoDataValue { get; }
Property Value
Type |
Description |
System.Nullable<System.Double> |
|
|
Improve this Doc
View Source
Width
Gets the horizontal count of the cells in the raster.
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Extension Methods