blob: 3fa97952f8cd05ca307c4656fa3ff0ad8e037e4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
-- File: TopTools_OrientedShapeMapHasher.cdl
-- Created: Mon Aug 30 16:10:24 1993
-- Author: Modelistation
-- <model@phylox>
---Copyright: Matra Datavision 1993
class OrientedShapeMapHasher from TopTools
uses
Shape from TopoDS
is
HashCode(myclass; S : Shape from TopoDS; Upper : Integer) returns Integer;
---Purpose: Returns a HasCode value for the Key <K> in the
-- range 0..Upper.
--
---C++: inline
IsEqual(myclass; S1, S2 : Shape from TopoDS) returns Boolean;
---Purpose: Returns True when the two keys are equal. Two same
-- keys must have the same hashcode, the contrary is
-- not necessary.
--
---C++: inline
end OrientedShapeMapHasher;
|