Hasher of Quantity_Color.
More...
#include <Quantity_ColorHasher.hxx>
◆ HashCode()
Returns hash code for the given RGB color, in the range [1, theUpperBound].
- Parameters
-
theColor | the RGB color object which hash code is to be computed |
theUpperBound | the upper bound of the range a computing range must be within |
- Returns
- a computed hash code, in the range [1, theUpperBound]
◆ IsEqual()
Returns true if two colors are equal.
◆ updateHash()
static void Quantity_ColorHasher::updateHash |
( |
unsigned int & |
theHash, |
|
|
const Standard_Integer |
theValue |
|
) |
| |
|
inlinestaticprotected |
The documentation for this struct was generated from the following file: