blob: ab7943107825c2b15c0e7e2cf8005334c38bedb1 (
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
30
31
32
33
34
35
36
37
38
39
40
|
-- File: BRepMesh_ComparatorOfIndexedVertex.cdl
-- Created: Tue Apr 5 11:45:18 1994
-- Author: Didier PIFFAULT
-- <dpf@zerox>
---Copyright: Matra Datavision 1994
class ComparatorOfIndexedVertexOfDelaun from BRepMesh
---Purpose: Sort two point in a given direction.
uses Boolean from Standard,
XY from gp,
DataStructureOfDelaun from BRepMesh
is Create (theDir : XY from gp;
TheTol : Real from Standard;
HDS : DataStructureOfDelaun from BRepMesh)
returns ComparatorOfIndexedVertexOfDelaun;
IsLower (me; Left, Right: Integer)
---Purpose: returns True if <Left> is lower than <Right>
returns Boolean from Standard;
IsGreater (me; Left, Right: Integer)
---Purpose: returns True if <Left> is greater than <Right>
returns Boolean from Standard;
IsEqual(me; Left, Right: Integer)
---Purpose: returns True when <Right> and <Left> are equal.
returns Boolean from Standard;
fields IndexedStructure : DataStructureOfDelaun from BRepMesh;
DirectionOfSort : XY from gp;
Tolerance : Real from Standard;
end ComparatorOfIndexedVertexOfDelaun;
|