Open CASCADE Technology  7.3.1.dev
Data Structures | Functions
MeshVS_TwoColors.hxx File Reference
#include <Quantity_Color.hxx>

Data Structures

struct  MeshVS_TwoColors
 

Functions

Standard_Integer HashCode (const MeshVS_TwoColors &theKey, Standard_Integer theUpperBound)
 Computes a hash code for the key, in the range [1, theUpperBound]. More...
 
Standard_Boolean IsEqual (const MeshVS_TwoColors &K1, const MeshVS_TwoColors &K2)
 
Standard_Boolean operator== (const MeshVS_TwoColors &K1, const MeshVS_TwoColors &K2)
 
MeshVS_TwoColors BindTwoColors (const Quantity_Color &, const Quantity_Color &)
 
Quantity_Color ExtractColor (MeshVS_TwoColors &, const Standard_Integer)
 
void ExtractColors (MeshVS_TwoColors &, Quantity_Color &, Quantity_Color &)
 

Function Documentation

◆ BindTwoColors()

MeshVS_TwoColors BindTwoColors ( const Quantity_Color ,
const Quantity_Color  
)

◆ ExtractColor()

Quantity_Color ExtractColor ( MeshVS_TwoColors ,
const Standard_Integer   
)

◆ ExtractColors()

void ExtractColors ( MeshVS_TwoColors ,
Quantity_Color ,
Quantity_Color  
)

◆ HashCode()

Standard_Integer HashCode ( const MeshVS_TwoColors theKey,
Standard_Integer  theUpperBound 
)

Computes a hash code for the key, in the range [1, theUpperBound].

Parameters
theKeythe key which hash code is to be computed
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]

◆ IsEqual()

Standard_Boolean IsEqual ( const MeshVS_TwoColors K1,
const MeshVS_TwoColors K2 
)

◆ operator==()

Standard_Boolean operator== ( const MeshVS_TwoColors K1,
const MeshVS_TwoColors K2 
)