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

Y

Gets or sets the Y.

public long Y { get; set; }

Property Value

long

Row

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

public long Row { get; set; }

Property Value

long

X

Gets or sets the X.

public long X { get; set; }

Property Value

long

Column

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

public long Column { get; set; }

Property Value

long

BoundingBox

This property gets or sets the BoundingBox of the stucture.

public RectangleShape BoundingBox { get; set; }

Property Value

RectangleShape

Constructors

MatrixCell(long, long, RectangleShape)

This is the constructor used to create a MatrixCell.

MatrixCell(long y, long x, RectangleShape boundingBox)

Parameters

y long
This parameter represents the row number of the MatrixCell.

x long
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

int

Remarks:

None

Equals(object)

This method is an override of the Equals functionality.

bool Equals(object obj)

Parameters

obj object

Returns

bool

Remarks:

None

CompareTo(MatrixCell)

Performs compare to.

int CompareTo(MatrixCell other)

Parameters

other MatrixCell
The other.

Returns

int
The result of the operation.