C# Class SampleRasterType.DiMapParser

Class used to parse the dim file (xml format) and get relevant properties from it.
Afficher le fichier Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Méthodes publiques

Méthode Description
DiMapParser ( ) : System
DiMapParser ( string xmlPath ) : System
GetBandDesc ( int bandIndex ) : string

Get the name of the band.

GetBandIndex ( int indexCounter ) : string

Index of the band based on the counter.

GetBandStatMax ( int bandIndex ) : string

Get maximum value for the band.

GetBandStatMean ( int bandIndex ) : string

Get mean value for the band.

GetBandStatMin ( int bandIndex ) : string

Get minimum value for the band.

GetBandStatStdDev ( int bandIndex ) : string

Get standard deviation value for the band.

GetNextVertex ( string &x, string &y, string &col, string &row ) : bool
GetNextVertex2 ( string &x, string &y, string unit ) : bool

Get next vertex from the footprint defined in the xml based on the vertex count and unit.

ResetVertexCount ( ) : void

Reset the vertex count to get vertices of the footprint.

Method Details

DiMapParser() public méthode

public DiMapParser ( ) : System
Résultat System

DiMapParser() public méthode

public DiMapParser ( string xmlPath ) : System
xmlPath string
Résultat System

GetBandDesc() public méthode

Get the name of the band.
public GetBandDesc ( int bandIndex ) : string
bandIndex int Index of the band for which to get the name.
Résultat string

GetBandIndex() public méthode

Index of the band based on the counter.
public GetBandIndex ( int indexCounter ) : string
indexCounter int Counter (similar to vertexCount) to get the index for.
Résultat string

GetBandStatMax() public méthode

Get maximum value for the band.
public GetBandStatMax ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
Résultat string

GetBandStatMean() public méthode

Get mean value for the band.
public GetBandStatMean ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
Résultat string

GetBandStatMin() public méthode

Get minimum value for the band.
public GetBandStatMin ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
Résultat string

GetBandStatStdDev() public méthode

Get standard deviation value for the band.
public GetBandStatStdDev ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
Résultat string

GetNextVertex() public méthode

public GetNextVertex ( string &x, string &y, string &col, string &row ) : bool
x string
y string
col string
row string
Résultat bool

GetNextVertex2() public méthode

Get next vertex from the footprint defined in the xml based on the vertex count and unit.
public GetNextVertex2 ( string &x, string &y, string unit ) : bool
x string The X value.
y string The Y value.
unit string Unit to check which parameter to get vertex from.
Résultat bool

ResetVertexCount() public méthode

Reset the vertex count to get vertices of the footprint.
public ResetVertexCount ( ) : void
Résultat void