b311480e |
1 | -- Created on: 1992-05-27 |
2 | -- Created by: Remi LEQUETTE |
3 | -- Copyright (c) 1992-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class TEdge from BRep inherits TEdge from TopoDS |
18 | |
19 | ---Purpose: The TEdge from BRep is inherited from the TEdge |
20 | -- from TopoDS. It contains the geometric data. |
21 | -- |
22 | -- The TEdge contains : |
23 | -- |
24 | -- * A tolerance. |
25 | -- |
26 | -- * A same parameter flag. |
27 | -- |
28 | -- * A same range flag. |
29 | -- |
30 | -- * A Degenerated flag. |
31 | -- |
32 | -- * A list of curve representation. |
33 | |
34 | uses |
35 | TShape from TopoDS, |
36 | ListOfCurveRepresentation from BRep |
37 | |
38 | is |
6e33d3ce |
39 | Create returns TEdge from BRep; |
7fd59977 |
40 | ---Purpose: Creates an empty TEdge. |
41 | |
42 | Tolerance(me) returns Real |
43 | ---C++: inline |
44 | is static; |
45 | |
46 | Tolerance(me : mutable; T : Real) |
47 | ---C++: inline |
48 | is static; |
49 | |
50 | UpdateTolerance(me : mutable; T : Real) |
51 | ---Purpose: Sets the tolerance to the max of <T> and the |
52 | -- current tolerance. |
53 | -- |
54 | ---C++: inline |
55 | is static; |
56 | |
57 | SameParameter(me) returns Boolean |
58 | is static; |
59 | |
60 | SameParameter(me : mutable; S : Boolean) |
61 | is static; |
62 | |
63 | SameRange(me) returns Boolean |
64 | is static; |
65 | |
66 | SameRange(me : mutable; S : Boolean) |
67 | is static; |
68 | |
69 | Degenerated(me) returns Boolean |
70 | is static; |
71 | |
72 | Degenerated(me : mutable; S : Boolean) |
73 | is static; |
74 | |
75 | Curves(me) returns ListOfCurveRepresentation from BRep |
76 | ---C++: return const & |
77 | ---C++: inline |
78 | is static; |
79 | |
80 | ChangeCurves(me : mutable) returns ListOfCurveRepresentation from BRep |
81 | ---C++: return & |
82 | ---C++: inline |
83 | is static; |
84 | |
6e33d3ce |
85 | EmptyCopy(me) returns TShape from TopoDS; |
7fd59977 |
86 | ---Purpose: Returns a copy of the TShape with no sub-shapes. |
87 | |
88 | fields |
89 | |
90 | myTolerance : Real; |
91 | myFlags : Integer; |
92 | myCurves : ListOfCurveRepresentation from BRep; |
93 | |
94 | end TEdge; |