Struct MatrixCell
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
rowlongThis parameter represents the row number of the MatrixCell.
columnlongThis parameter represents the column number of the MatrixCell.
boundingBoxRectangleShapeThis 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
Column
This property gets or sets the Column number of the stucture.
public long Column { get; set; }
Property Value
Row
This property gets or sets the Row number of the stucture.
public long Row { get; set; }
Property Value
Methods
CompareTo(MatrixCell)
public int CompareTo(MatrixCell other)
Parameters
otherMatrixCell
Returns
Equals(object)
This method is an override of the Equals functionality.
public override bool Equals(object obj)
Parameters
objobject
Returns
Remarks
None
GetHashCode()
This method is an override of the GetHashCode functionality.
public override int GetHashCode()
Returns
Remarks
None
ToString()
This method is an override of the ToString functionality.
public override string ToString()
Returns
Remarks
None
Operators
operator ==(MatrixCell, MatrixCell)
This method is an override of the == functionality.
public static bool operator ==(MatrixCell cell1, MatrixCell cell2)
Parameters
cell1MatrixCellThis parameter represents the first MatrixCell to compare.
cell2MatrixCellThis parameter represents the second MatrixCell to compare.
Returns
Remarks
None
operator !=(MatrixCell, MatrixCell)
This method is an override of the != functionality.
public static bool operator !=(MatrixCell cell1, MatrixCell cell2)
Parameters
cell1MatrixCellThis parameter represents the first MatrixCell to compare.
cell2MatrixCellThis parameter represents the second MatrixCell to compare.
Returns
Remarks
None