Salome HOME
yfr : Merge with v1.2
[modules/smesh.git] / src / SMDS / SMDS_PntHasher.cdl
1 -- File:        IntPoly_PntHasher.cdl
2 -- Created:     Wed Jan 23 16:15:04 2002
3 -- Author:      Jean-Michel BOULCOURT
4 --              <jmb@coulox.paris1.matra-dtv.fr>
5 ---Copyright:    Matra Datavision 2002
6
7
8 class PntHasher from SMDS
9
10 uses  Pnt from gp
11
12 is    HashCode(myclass; Point : Pnt from gp;
13                         Upper : Integer)
14       returns Integer;
15         ---Purpose: Returns a HasCode value  for  the  Key <K>  in the
16         --          range 0..Upper.
17         ---C++: inline
18         
19       IsEqual(myclass; Point1,Point2 : Pnt from gp)
20       returns Boolean;
21         ---Purpose: Returns True  when the two  keys are the same. Two
22         --          same  keys  must   have  the  same  hashcode,  the
23         --          contrary is not necessary.
24         ---C++: inline
25         
26 end PntHasher;