7fd59977 |
1 | -- File: TopOpeBRepDS_Point.cdl |
2 | -- Created: Wed Jun 23 12:07:08 1993 |
3 | -- Author: Jean Yves LEBEY |
4 | -- <jyl@zerox> |
5 | ---Copyright: Matra Datavision 1993 |
6 | |
7 | |
8 | class Point from TopOpeBRepDS |
9 | |
10 | ---Purpose: A Geom point and a tolerance. |
11 | |
12 | uses |
13 | |
14 | Pnt from gp, |
15 | Shape from TopoDS |
16 | |
17 | is |
18 | |
19 | Create returns Point from TopOpeBRepDS; |
20 | |
21 | Create(P : Pnt from gp; T : Real from Standard) |
22 | returns Point from TopOpeBRepDS; |
23 | |
24 | Create(S : Shape from TopoDS) |
25 | returns Point from TopOpeBRepDS; |
26 | |
27 | IsEqual(me; other : Point from TopOpeBRepDS) |
28 | returns Boolean from Standard |
29 | is static; |
30 | |
31 | Point(me) returns Pnt from gp |
32 | ---C++: return const & |
33 | is static; |
34 | |
35 | ChangePoint(me : in out) returns Pnt from gp |
36 | ---C++: return & |
37 | is static; |
38 | |
39 | Tolerance(me) returns Real from Standard |
40 | is static; |
41 | |
42 | Tolerance(me : in out; Tol : Real from Standard) |
43 | is static; |
44 | |
45 | Keep(me) returns Boolean from Standard |
46 | is static; |
47 | ChangeKeep(me : in out; B : Boolean from Standard) |
48 | is static; |
49 | |
50 | fields |
51 | |
52 | myPoint : Pnt from gp; |
53 | myTolerance : Real from Standard; |
54 | myKeep : Boolean from Standard; |
55 | |
56 | end Point from TopOpeBRepDS; |