Open CASCADE Technology  7.3.0
Static Public Member Functions

Quantity_ColorRGBAHasher Struct Reference

Hasher of Quantity_ColorRGBA. More...

#include <Quantity_ColorRGBAHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const Quantity_ColorRGBA &theColor, const Standard_Integer theUpper)
 Returns hash code for the given color. More...
 
static Standard_Boolean IsEqual (const Quantity_ColorRGBA &theColor1, const Quantity_ColorRGBA &theColor2)
 Returns true if two colors are equal. More...
 

Detailed Description

Hasher of Quantity_ColorRGBA.

Member Function Documentation

◆ HashCode()

static Standard_Integer Quantity_ColorRGBAHasher::HashCode ( const Quantity_ColorRGBA theColor,
const Standard_Integer  theUpper 
)
inlinestatic

Returns hash code for the given color.

◆ IsEqual()

static Standard_Boolean Quantity_ColorRGBAHasher::IsEqual ( const Quantity_ColorRGBA theColor1,
const Quantity_ColorRGBA theColor2 
)
inlinestatic

Returns true if two colors are equal.


The documentation for this struct was generated from the following file: