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
row
longThis parameter represents the row number of the MatrixCell.
column
longThis parameter represents the column number of the MatrixCell.
boundingBox
RectangleShapeThis 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
other
MatrixCell
Returns
Equals(object)
This method is an override of the Equals functionality.
public override bool Equals(object obj)
Parameters
obj
object
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
cell1
MatrixCellThis parameter represents the first MatrixCell to compare.
cell2
MatrixCellThis 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
cell1
MatrixCellThis parameter represents the first MatrixCell to compare.
cell2
MatrixCellThis parameter represents the second MatrixCell to compare.
Returns
Remarks
None