1 -- Created on: 1994-11-14
2 -- Created by: Bruno DUMORTIER
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 private class MultiLine from BRepFill
25 ---Purpose: Private class used to compute the 3d curve and the
26 -- two 2d curves resulting from the intersection of a
27 -- surface of linear extrusion( Bissec, Dz) and the 2
29 -- This 3 curves will have the same parametrization
30 -- as the Bissectrice.
31 -- This class is to be send to an approximation
39 Curve from Geom2dAdaptor,
45 DomainError from Standard
50 Create( Face1, Face2 : Face from TopoDS;
51 Edge1, Edge2 : Edge from TopoDS;
52 Inv1 , Inv2 : Boolean from Standard;
53 Bissec : Curve from Geom2d );
56 returns Boolean from Standard
57 ---Purpose: Search if the Projection of the Bissectrice on the
58 -- faces needs an approximation or not.
59 -- Returns true if the approximation is not needed.
62 Continuity (me) returns Shape from GeomAbs
63 ---Purpose: Returns the continuity betwwen the two faces
64 -- seShape from GeomAbsparated by myBis.
67 Curves(me; Curve : in out Curve from Geom;
68 PCurve1 : in out Curve from Geom2d;
69 PCurve2 : in out Curve from Geom2d)
71 DomainError from Standard
72 ---Purpose: raises if IsParticularCase is <False>.
76 ---Purpose: returns the first parameter of the Bissectrice.
77 returns Real from Standard is static;
80 ---Purpose: returns the last parameter of the Bissectrice.
81 returns Real from Standard is static;
83 Value ( me; U : Real from Standard)
84 ---Purpose: Returns the current point on the 3d curve
85 returns Pnt from gp is static;
87 ValueOnF1(me; U : Real from Standard)
88 ---Purpose: returns the current point on the PCurve of the
90 returns Pnt2d from gp is static;
92 ValueOnF2(me; U : Real from Standard)
93 ---Purpose: returns the current point on the PCurve of the
95 returns Pnt2d from gp is static;
98 U : Real from Standard;
99 P3d : in out Pnt from gp;
100 PF1 : in out Pnt2d from gp;
101 PF2 : in out Pnt2d from gp)
106 myFace1 : Face from TopoDS;
107 myFace2 : Face from TopoDS;
108 myU1 : Curve from Geom2dAdaptor;
109 myV1 : Curve from Geom2dAdaptor;
110 myU2 : Curve from Geom2dAdaptor;
111 myV2 : Curve from Geom2dAdaptor;
112 myIsoU1 : Boolean from Standard;
113 myIsoU2 : Boolean from Standard;
114 myBis : Curve from Geom2dAdaptor;
115 myKPart : Integer from Standard;
116 myCont : Shape from GeomAbs;