Table of Contents

Struct MatrixCell

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

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

public struct MatrixCell : IComparable<MatrixCell>
Implements
Inherited Members

Constructors

MatrixCell(long, long, RectangleShape)

This is the constructor used to create a MatrixCell.

public MatrixCell(long row, long column, RectangleShape boundingBox)

Parameters

row long

This parameter represents the row number of the MatrixCell.

column long

This parameter represents the column number of the MatrixCell.

boundingBox RectangleShape

This parameter represents the boundingBox of the MatrixCell.

Remarks

None

Properties

BoundingBox

This property gets or sets the BoundingBox of the stucture.

public RectangleShape BoundingBox { get; set; }

Property Value

RectangleShape

Column

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

public long Column { 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

Methods

CompareTo(MatrixCell)

public int CompareTo(MatrixCell other)

Parameters

other MatrixCell

Returns

int

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

ToString()

This method is an override of the ToString functionality.

public override string ToString()

Returns

string

Remarks

None

Operators

operator ==(MatrixCell, MatrixCell)

This method is an override of the == functionality.

public static bool operator ==(MatrixCell cell1, MatrixCell cell2)

Parameters

cell1 MatrixCell

This parameter represents the first MatrixCell to compare.

cell2 MatrixCell

This parameter represents the second MatrixCell to compare.

Returns

bool

Remarks

None

operator !=(MatrixCell, MatrixCell)

This method is an override of the != functionality.

public static bool operator !=(MatrixCell cell1, MatrixCell cell2)

Parameters

cell1 MatrixCell

This parameter represents the first MatrixCell to compare.

cell2 MatrixCell

This parameter represents the second MatrixCell to compare.

Returns

bool

Remarks

None