Integration of OCCT 6.5.0 from SVN
[occt.git] / src / BRep / BRep_TEdge.cdl
CommitLineData
7fd59977 1-- File: TEdge.cdl
2-- Created: Wed May 27 15:20:30 1992
3-- Author: Remi LEQUETTE
4-- <rle@sdsun2>
5---Copyright: Matra Datavision 1992
6
7
8
9
10class TEdge from BRep inherits TEdge from TopoDS
11
12 ---Purpose: The TEdge from BRep is inherited from the TEdge
13 -- from TopoDS. It contains the geometric data.
14 --
15 -- The TEdge contains :
16 --
17 -- * A tolerance.
18 --
19 -- * A same parameter flag.
20 --
21 -- * A same range flag.
22 --
23 -- * A Degenerated flag.
24 --
25 -- * A list of curve representation.
26
27uses
28 TShape from TopoDS,
29 ListOfCurveRepresentation from BRep
30
31is
32 Create returns mutable TEdge from BRep;
33 ---Purpose: Creates an empty TEdge.
34
35 Tolerance(me) returns Real
36 ---C++: inline
37 is static;
38
39 Tolerance(me : mutable; T : Real)
40 ---C++: inline
41 is static;
42
43 UpdateTolerance(me : mutable; T : Real)
44 ---Purpose: Sets the tolerance to the max of <T> and the
45 -- current tolerance.
46 --
47 ---C++: inline
48 is static;
49
50 SameParameter(me) returns Boolean
51 is static;
52
53 SameParameter(me : mutable; S : Boolean)
54 is static;
55
56 SameRange(me) returns Boolean
57 is static;
58
59 SameRange(me : mutable; S : Boolean)
60 is static;
61
62 Degenerated(me) returns Boolean
63 is static;
64
65 Degenerated(me : mutable; S : Boolean)
66 is static;
67
68 Curves(me) returns ListOfCurveRepresentation from BRep
69 ---C++: return const &
70 ---C++: inline
71 is static;
72
73 ChangeCurves(me : mutable) returns ListOfCurveRepresentation from BRep
74 ---C++: return &
75 ---C++: inline
76 is static;
77
78 EmptyCopy(me) returns mutable TShape from TopoDS;
79 ---Purpose: Returns a copy of the TShape with no sub-shapes.
80
81fields
82
83 myTolerance : Real;
84 myFlags : Integer;
85 myCurves : ListOfCurveRepresentation from BRep;
86
87end TEdge;