0023024: Update headers of OCCT files
[occt.git] / src / BRepFill / BRepFill_MultiLine.cdl
CommitLineData
b311480e 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
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
23private class MultiLine from BRepFill
24
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
28 -- faces.
29 -- This 3 curves will have the same parametrization
30 -- as the Bissectrice.
31 -- This class is to be send to an approximation
32 -- routine.
33
34uses
35 Face from TopoDS,
36 Edge from TopoDS,
37 Curve from Geom,
38 Curve from Geom2d,
39 Curve from Geom2dAdaptor,
40 Pnt from gp,
41 Pnt2d from gp,
42 Shape from GeomAbs
43
44raises
45 DomainError from Standard
46
47is
48 Create;
49
50 Create( Face1, Face2 : Face from TopoDS;
51 Edge1, Edge2 : Edge from TopoDS;
52 Inv1 , Inv2 : Boolean from Standard;
53 Bissec : Curve from Geom2d );
54
55 IsParticularCase(me)
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.
60 is static;
61
62 Continuity (me) returns Shape from GeomAbs
63 ---Purpose: Returns the continuity betwwen the two faces
64 -- seShape from GeomAbsparated by myBis.
65 is static;
66
67 Curves(me; Curve : in out Curve from Geom;
68 PCurve1 : in out Curve from Geom2d;
69 PCurve2 : in out Curve from Geom2d)
70 raises
71 DomainError from Standard
72 ---Purpose: raises if IsParticularCase is <False>.
73 is static;
74
75 FirstParameter(me)
76 ---Purpose: returns the first parameter of the Bissectrice.
77 returns Real from Standard is static;
78
79 LastParameter(me)
80 ---Purpose: returns the last parameter of the Bissectrice.
81 returns Real from Standard is static;
82
83 Value ( me; U : Real from Standard)
84 ---Purpose: Returns the current point on the 3d curve
85 returns Pnt from gp is static;
86
87 ValueOnF1(me; U : Real from Standard)
88 ---Purpose: returns the current point on the PCurve of the
89 -- first face
90 returns Pnt2d from gp is static;
91
92 ValueOnF2(me; U : Real from Standard)
93 ---Purpose: returns the current point on the PCurve of the
94 -- first face
95 returns Pnt2d from gp is static;
96
97 Value3dOnF1OnF2(me;
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)
102 is static;
103
104
105fields
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;
117
118end MultiLine;