Table of Contents

Struct RowColumnRange

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

This structure is used to describe a range of tiles for a given extent. Basiclly, 4 values exists : the Row range is from MinColumnIndex to MaxColumnIndex, the Column range is from the MinRowIndex to MaxRowIndex.

public struct RowColumnRange
Inherited Members

Constructors

RowColumnRange(long, long, long, long)

Contructor of the structure to instance a RowColumnRange.

public RowColumnRange(long minRowIndex, long maxRowIndex, long minColumnIndex, long maxColumnIndex)

Parameters

minRowIndex long

Min Row Index which stands for the up boundary.

maxRowIndex long

Max Row Index which stands for the lower boundary.

minColumnIndex long

Min Column Index which stands for the left boundary.

maxColumnIndex long

Max Column Index which stands for the right boundary.

Properties

MaxColumnIndex

Gets or sets the Max Column Index which stands for the right boundary.

public long MaxColumnIndex { get; set; }

Property Value

long

MaxRowIndex

Gets or sets the Max Row Index which stands for the lower boundary.

public long MaxRowIndex { get; set; }

Property Value

long

MinColumnIndex

Gets or sets the Min Column Index which stands for the left boundary.

public long MinColumnIndex { get; set; }

Property Value

long

MinRowIndex

Gets or sets the Min Row Index which stands for the up boundary.

public long MinRowIndex { get; set; }

Property Value

long

Methods

Equals(object)

This method is an override of the Equals functionality.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Remarks

None

GetHashCode()

This method is an override of the GetHashCode functionality.

public override int GetHashCode()

Returns

int

Remarks

None

Operators

operator ==(RowColumnRange, RowColumnRange)

This method is an override of the == functionality.

public static bool operator ==(RowColumnRange rowColumnRange1, RowColumnRange rowColumnRange2)

Parameters

rowColumnRange1 RowColumnRange

This parameter represents the first rowColumnRange to compare.

rowColumnRange2 RowColumnRange

This parameter represents the second rowColumnRange to compare.

Returns

bool

Remarks

None

operator !=(RowColumnRange, RowColumnRange)

This method is an override of the != functionality.

public static bool operator !=(RowColumnRange rowColumnRange1, RowColumnRange rowColumnRange2)

Parameters

rowColumnRange1 RowColumnRange

This parameter represents the first rowColumnRange to compare.

rowColumnRange2 RowColumnRange

This parameter represents the second rowColumnRange to compare.

Returns

bool

Remarks

None