Integration of OCCT 6.5.0 from SVN
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_Interference.cdl
CommitLineData
7fd59977 1-- File: TopOpeBRepDS_Interference.cdl
2-- Created: Wed Jun 23 11:18:04 1993
3-- Author: Jean Yves LEBEY
4-- <jyl@zerox>
5---Copyright: Matra Datavision 1993
6
7
8
9class Interference from TopOpeBRepDS inherits TShared from MMgt
10
11 ---Purpose: An interference is the description of the
12 -- attachment of a new geometry on a geometry. For
13 -- example an intersection point on an Edge or on a
14 -- Curve.
15 --
16 -- The Interference contains the following data :
17 --
18 -- - Transition : How the interference separates the
19 -- existing geometry in INSIDE and OUTSIDE.
20 --
21 -- - SupportType : Type of the object supporting the
22 -- interference. (FACE, EDGE, VERTEX, SURFACE, CURVE).
23 --
24 -- - Support : Index in the data structure of the
25 -- object supporting the interference.
26 --
27 -- - GeometryType : Type of the geometry of the
28 -- interference (SURFACE, CURVE, POINT).
29 --
30 -- - Geometry : Index in the data structure of the
31 -- geometry.
32 --
33
34uses
35
36 Transition from TopOpeBRepDS,
37 Kind from TopOpeBRepDS,
38 OStream from Standard,
39 AsciiString from TCollection
40
41is
42
43 Create returns mutable Interference from TopOpeBRepDS;
44
45 Create(Transition : Transition from TopOpeBRepDS;
46 SupportType : Kind from TopOpeBRepDS;
47 Support : Integer from Standard;
48 GeometryType : Kind from TopOpeBRepDS;
49 Geometry : Integer from Standard)
50 returns mutable Interference from TopOpeBRepDS;
51
52 Create( I : Interference from TopOpeBRepDS )
53 returns mutable Interference from TopOpeBRepDS;
54
55 Transition(me) returns Transition from TopOpeBRepDS
56 ---C++: return const &
57 is static;
58
59 ChangeTransition(me : mutable) returns Transition from TopOpeBRepDS
60 ---C++: return &
61 is static;
62
63 Transition(me : mutable; T : Transition from TopOpeBRepDS)
64 is static;
65
66 GKGSKS (me; GK : out Kind from TopOpeBRepDS; G : out Integer;
67 SK : out Kind from TopOpeBRepDS; S : out Integer);
68 ---Purpose: return GeometryType + Geometry + SupportType + Support
69
70 SupportType(me) returns Kind from TopOpeBRepDS
71 is static;
72
73 Support(me) returns Integer from Standard
74 is static;
75
76 GeometryType(me) returns Kind from TopOpeBRepDS
77 is static;
78
79 Geometry(me) returns Integer from Standard
80 is static;
81
82 SetGeometry(me : mutable; GI :Integer from Standard)
83 is static;
84
85 SupportType(me : mutable; ST : Kind from TopOpeBRepDS)
86 is static;
87
88 Support(me : mutable; S : Integer from Standard)
89 is static;
90
91 GeometryType(me : mutable; GT : Kind from TopOpeBRepDS)
92 is static;
93
94 Geometry(me : mutable; G : Integer from Standard)
95 is static;
96
97 HasSameSupport (me; Other : Interference from TopOpeBRepDS)
98 returns Boolean from Standard
99 is static;
100
101 HasSameGeometry (me; Other : Interference from TopOpeBRepDS)
102 returns Boolean from Standard
103 is static;
104
105 DumpG(me; OS : in out OStream from Standard) returns OStream
106 is static;
107 ---C++: return &
108
109 DumpS(me; OS : in out OStream from Standard) returns OStream
110 is static;
111 ---C++: return &
112
113 Dump(me; OS : in out OStream from Standard) returns OStream
114 ---C++: return &
115 is virtual;
116
117 Dump(me; OS : in out OStream from Standard;
118 s1,s2 : AsciiString from TCollection) returns OStream
119 ---C++: return &
120 is static;
121
122fields
123
124 myTransition : Transition from TopOpeBRepDS;
125 mySupport : Integer from Standard;
126 myGeometry : Integer from Standard;
127 mySupportType : Kind from TopOpeBRepDS;
128 myGeometryType : Kind from TopOpeBRepDS;
129
130end Interference from TopOpeBRepDS;