0024428: Implementation of LGPL license
[occt.git] / src / BRep / BRep_TEdge.cdl
... / ...
CommitLineData
1-- Created on: 1992-05-27
2-- Created by: Remi LEQUETTE
3-- Copyright (c) 1992-1999 Matra Datavision
4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
5--
6-- This file is part of Open CASCADE Technology software library.
7--
8-- This library is free software; you can redistribute it and / or modify it
9-- under the terms of the GNU Lesser General Public version 2.1 as published
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.
13--
14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
16
17class 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
34uses
35 TShape from TopoDS,
36 ListOfCurveRepresentation from BRep
37
38is
39 Create returns mutable TEdge from BRep;
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
85 EmptyCopy(me) returns mutable TShape from TopoDS;
86 ---Purpose: Returns a copy of the TShape with no sub-shapes.
87
88fields
89
90 myTolerance : Real;
91 myFlags : Integer;
92 myCurves : ListOfCurveRepresentation from BRep;
93
94end TEdge;