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