0024166: Unable to create file with "Save" menu of voxeldemo Qt sample
[occt.git] / src / BRep / BRep_TEdge.cdl
CommitLineData
b311480e 1-- Created on: 1992-05-27
2-- Created by: Remi LEQUETTE
3-- Copyright (c) 1992-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23
24
25class TEdge from BRep inherits TEdge from TopoDS
26
27 ---Purpose: The TEdge from BRep is inherited from the TEdge
28 -- from TopoDS. It contains the geometric data.
29 --
30 -- The TEdge contains :
31 --
32 -- * A tolerance.
33 --
34 -- * A same parameter flag.
35 --
36 -- * A same range flag.
37 --
38 -- * A Degenerated flag.
39 --
40 -- * A list of curve representation.
41
42uses
43 TShape from TopoDS,
44 ListOfCurveRepresentation from BRep
45
46is
47 Create returns mutable TEdge from BRep;
48 ---Purpose: Creates an empty TEdge.
49
50 Tolerance(me) returns Real
51 ---C++: inline
52 is static;
53
54 Tolerance(me : mutable; T : Real)
55 ---C++: inline
56 is static;
57
58 UpdateTolerance(me : mutable; T : Real)
59 ---Purpose: Sets the tolerance to the max of <T> and the
60 -- current tolerance.
61 --
62 ---C++: inline
63 is static;
64
65 SameParameter(me) returns Boolean
66 is static;
67
68 SameParameter(me : mutable; S : Boolean)
69 is static;
70
71 SameRange(me) returns Boolean
72 is static;
73
74 SameRange(me : mutable; S : Boolean)
75 is static;
76
77 Degenerated(me) returns Boolean
78 is static;
79
80 Degenerated(me : mutable; S : Boolean)
81 is static;
82
83 Curves(me) returns ListOfCurveRepresentation from BRep
84 ---C++: return const &
85 ---C++: inline
86 is static;
87
88 ChangeCurves(me : mutable) returns ListOfCurveRepresentation from BRep
89 ---C++: return &
90 ---C++: inline
91 is static;
92
93 EmptyCopy(me) returns mutable TShape from TopoDS;
94 ---Purpose: Returns a copy of the TShape with no sub-shapes.
95
96fields
97
98 myTolerance : Real;
99 myFlags : Integer;
100 myCurves : ListOfCurveRepresentation from BRep;
101
102end TEdge;