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
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.
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.
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.
23 class Inter from Bisector
25 ---Purpose: Intersection between two <Bisec> from Bisector.
28 Intersection from IntRes2d
34 BisecCC from Bisector,
38 raises ConstructionError from Standard
41 Create returns Inter from Bisector;
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>
52 -- It Permits an optimiztion of the computation.
54 returns Inter from Bisector
55 raises ConstructionError from Standard;
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>
68 -- It Permits an optimiztion of the computation.
70 raises ConstructionError from Standard
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.
80 raises ConstructionError from Standard
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)
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)