Open CASCADE Technology
6.5.4
|
#include <IntPoly_Pnt2dHasher.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC Standard_Integer | HashCode (const gp_Pnt2d &Point, const Standard_Integer Upper) |
Returns a HasCode value for the Key <K> in the range 0..Upper. | |
static Standard_Boolean | IsEqual (const gp_Pnt2d &Point1, const gp_Pnt2d &Point2) |
Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary. |
static DEFINE_STANDARD_ALLOC Standard_Integer IntPoly_Pnt2dHasher::HashCode | ( | const gp_Pnt2d & | Point, |
const Standard_Integer | Upper | ||
) | [static] |
static Standard_Boolean IntPoly_Pnt2dHasher::IsEqual | ( | const gp_Pnt2d & | Point1, |
const gp_Pnt2d & | Point2 | ||
) | [static] |