|
| | BitMatrix (const U32 width, const U32 height) |
| |
| | ~BitMatrix () |
| |
|
| void | clearAllBits () |
| | Set all the bits in the matrix to false.
|
| |
| void | setAllBits () |
| | Set all the bits in the matrix to true.
|
| |
| void | setBit (const U32 x, const U32 y) |
| | Set a bit at a given location in the matrix.
|
| |
| void | clearBit (const U32 x, const U32 y) |
| | Clear a bit at a given location in the matrix.
|
| |
|
| bool | isSet (const U32 x, const U32 y) const |
| | Is the specified bit set?
|
| |
| bool | isAnySetCol (const U32 x) |
| | Is any bit in the given column set?
|
| |
| bool | isAnySetRow (const U32 y) |
| | Is any bit in the given row set?
|
| |
A matrix of bits.
This class manages an array of bits. There are no limitations on the size of the bit matrix (beyond available memory).
- Note
- This class is currently unused.