0023024: Update headers of OCCT files
[occt.git] / src / TopBas / TopBas_Interference.cdl
CommitLineData
b311480e 1-- Created on: 1992-08-13
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
25generic class Interference from TopBas (TheSubShape as any;
26 TheShape as any)
27
28 ---Purpose: An Interference is an Intersection on a Shape
29 -- called the Reference, it contains :
30 --
31 -- * The Intersection : The SubShape describing the
32 -- intersection. For example a Vertex.
33 --
34 -- * The Boundary : The Shape that generated the
35 -- intersection with the referrence. For example an
36 -- Edge.
37 --
38 -- * The Orientation : The orientation of the
39 -- Intersection relative to the Boundary.
40 --
41 -- * The Transition : How the referrence crosses the
42 -- Boundary at the Intersection.
43 --
44 -- * The BoundaryTransition : How the Referrence is
45 -- on the boundary at the Intersection.
46 --
47 -- * Next : The Next Interference on the same
48 -- Reference. Used to make lists.
49
50
51uses
52 Orientation from TopAbs
53
54is
55 Create returns Interference;
56
57 Create(Inters : TheSubShape;
58 Bound : TheShape;
59 Orient : Orientation from TopAbs;
60 Trans : Orientation from TopAbs;
61 BTrans : Orientation from TopAbs) returns Interference;
62
63 Intersection(me : in out; I : TheSubShape)
64 ---C++: inline
65 is static;
66
67 Boundary(me : in out; B : TheShape)
68 ---C++: inline
69 is static;
70
71 Orientation(me : in out; O : Orientation from TopAbs)
72 ---C++: inline
73 is static;
74
75 Transition(me : in out; Tr : Orientation from TopAbs)
76 ---C++: inline
77 is static;
78
79 BoundaryTransition(me : in out; BTr : Orientation from TopAbs)
80 ---C++: inline
81 is static;
82
83 Intersection(me) returns TheSubShape
84 ---C++: inline
85 ---C++: return const &
86 is static;
87
88 ChangeIntersection(me : in out) returns TheSubShape
89 ---C++: inline
90 ---C++: return &
91 is static;
92
93 Boundary(me) returns TheShape
94 ---C++: inline
95 ---C++: return const &
96 is static;
97
98 ChangeBoundary(me : in out) returns TheShape
99 ---C++: inline
100 ---C++: return &
101 is static;
102
103 Orientation(me) returns Orientation from TopAbs
104 ---C++: inline
105 is static;
106
107 Transition(me) returns Orientation from TopAbs
108 ---C++: inline
109 is static;
110
111 BoundaryTransition(me) returns Orientation from TopAbs
112 ---C++: inline
113 is static;
114
115fields
116 myIntersection : TheSubShape;
117 myBoundary : TheShape;
118 myOrientation : Orientation from TopAbs;
119 myTransition : Orientation from TopAbs;
120 myBTransition : Orientation from TopAbs;
121
122end Interference;