0023024: Update headers of OCCT files
[occt.git] / src / Bisector / Bisector_Inter.cdl
CommitLineData
b311480e 1-- Created on: 1994-06-24
2-- Created by: Yves FRICAUD
3-- Copyright (c) 1994-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
23class Inter from Bisector
24
25 ---Purpose: Intersection between two <Bisec> from Bisector.
26
27inherits
28 Intersection from IntRes2d
29
30uses
31 Domain from IntRes2d,
32 Bisec from Bisector,
33 Curve from Bisector,
34 BisecCC from Bisector,
35 Curve from Geom2d,
36 Line from Geom2d
37
38raises ConstructionError from Standard
39
40is
41 Create returns Inter from Bisector;
42
43 Create (C1: Bisec from Bisector; D1: Domain from IntRes2d;
44 C2: Bisec from Bisector; D2: Domain from IntRes2d;
45 TolConf,Tol : Real from Standard;
46 ComunElement : Boolean from Standard)
47 ---Purpose: Intersection between 2 curves.
48 -- C1 separates the element A and B.
49 -- C2 separates the elements C et D.
50 -- If B an C have the same geometry. <ComunElement>
51 -- Has to be True.
52 -- It Permits an optimiztion of the computation.
53
54 returns Inter from Bisector
55 raises ConstructionError from Standard;
56
57
58 Perform (me: in out;
59 C1: Bisec from Bisector; D1: Domain from IntRes2d;
60 C2: Bisec from Bisector; D2: Domain from IntRes2d;
61 TolConf,Tol : Real from Standard;
62 ComunElement : Boolean from Standard)
63 ---Purpose: Intersection between 2 curves.
64 -- C1 separates the element A and B.
65 -- C2 separates the elements C et D.
66 -- If B an C have the same geometry. <ComunElement>
67 -- Has to be True.
68 -- It Permits an optimiztion of the computation.
69
70 raises ConstructionError from Standard
71 is static;
72
73 SinglePerform (me: in out;
74 C1: Curve from Geom2d ; D1: Domain from IntRes2d;
75 C2: Curve from Geom2d ; D2: Domain from IntRes2d;
76 TolConf,Tol : Real from Standard;
77 ComunElement : Boolean from Standard)
78 ---Purpose: Intersection between 2 curves.
79
80 raises ConstructionError from Standard
81 is static private;
82
83 NeighbourPerform (me : in out;
84 C1 : BisecCC from Bisector; D1: Domain from IntRes2d;
85 C2 : BisecCC from Bisector; D2: Domain from IntRes2d;
86 Tol: Real from Standard)
87 is static private;
88
89 TestBound (me : in out;
90 C1 : Line from Geom2d ; D1 : Domain from IntRes2d;
91 C2 : Curve from Geom2d ; D2 : Domain from IntRes2d;
92 Tol: Real from Standard; Reverse : Boolean from Standard)
93 is static private;
94
95end Inter;