7fd59977 |
1 | -- File: DrawDim_Distance.cdl |
2 | -- Created: Mon Apr 21 13:30:11 1997 |
3 | -- Author: Denis PASCAL |
4 | ---Copyright: Matra Datavision 1997 |
5 | |
6 | |
7 | class Distance from DrawDim inherits Dimension from DrawDim |
8 | |
9 | ---Purpose: |
10 | |
11 | uses Face from TopoDS, |
12 | Display from Draw |
13 | |
14 | is |
15 | |
16 | Create (plane1 : Face from TopoDS; plane2 : Face from TopoDS) |
17 | returns mutable Distance from DrawDim; |
18 | |
19 | Create (plane1 : Face from TopoDS) |
20 | returns mutable Distance from DrawDim; |
21 | |
22 | Plane1 (me) returns Face from TopoDS; |
23 | ---C++: return const& |
24 | |
25 | Plane1 (me : mutable; face : Face from TopoDS); |
26 | |
27 | Plane2 (me) returns Face from TopoDS; |
28 | ---C++: return const& |
29 | |
30 | Plane2 (me : mutable; face : Face from TopoDS); |
31 | |
32 | DrawOn (me; dis : in out Display); |
33 | |
34 | fields |
35 | |
36 | myPlane1 : Face from TopoDS; |
37 | myPlane2 : Face from TopoDS; |
38 | |
39 | end Distance; |