Skip to content

MatrixCell

Namespace: ThinkGeo.Core

This structure represents the MatrixCell which will be used in the TileMatrix system.

public struct MatrixCell

Inheritance ObjectValueTypeMatrixCell
Implements IComparable<MatrixCell>

Properties

Row

This property gets or sets the Row number of the stucture.

public long Row { get; set; }

Property Value

Int64

Column

This property gets or sets the Column number of the stucture.

public long Column { get; set; }

Property Value

Int64

BoundingBox

This property gets or sets the BoundingBox of the stucture.

public RectangleShape BoundingBox { get; set; }

Property Value

RectangleShape

Constructors

MatrixCell(Int64, Int64, RectangleShape)

This is the constructor used to create a MatrixCell.

MatrixCell(long row, long column, RectangleShape boundingBox)

Parameters

row Int64
This parameter represents the row number of the MatrixCell.

column Int64
This parameter represents the column number of the MatrixCell.

boundingBox RectangleShape
This parameter represents the boundingBox of the MatrixCell.

Remarks:

None

Methods

ToString()

This method is an override of the ToString functionality.

string ToString()

Returns

String

Remarks:

None

GetHashCode()

This method is an override of the GetHashCode functionality.

int GetHashCode()

Returns

Int32

Remarks:

None

Equals(Object)

This method is an override of the Equals functionality.

bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Remarks:

None

CompareTo(MatrixCell)

int CompareTo(MatrixCell other)

Parameters

other MatrixCell

Returns

Int32