0024624: Lost word in license statement in source files
[occt.git] / src / BRepIntCurveSurface / BRepIntCurveSurface_Inter.cdl
CommitLineData
b311480e 1-- Created on: 1994-02-07
2-- Created by: Modelistation
3-- Copyright (c) 1994-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class Inter from BRepIntCurveSurface
18
19 ---Purpose: Computes the intersection between a face and a curve
20 --
21
22uses
23--modified by NIZNHY-PKV Sun Dec 15 16:52:33 2002 f
24 TopolTool from BRepTopAdaptor,
25 HSurface from BRepAdaptor,
26--modified by NIZNHY-PKV Sun Dec 15 16:52:34 2002 t
27 Shape from TopoDS,
28 FaceClassifier from BRepClass,
29 State from TopAbs,
30 Explorer from TopExp,
31 IntersectionPoint from IntCurveSurface,
32 HInter from IntCurveSurface,
33 Curve from GeomAdaptor,
34 Lin from gp,
35 Pnt from gp,
36 TransitionOnCurve from IntCurveSurface,
37 Face from TopoDS
38
39
40raises
41 NotDone from StdFail
42
43
44is
45
46 Create returns Inter from BRepIntCurveSurface;
47 --- Purpose: Empty constructor;
48
49 Init(me : in out;
50 Sh : Shape from TopoDS;
51 Cu : Curve from GeomAdaptor;
52 Tol: Real from Standard)
53
54 --- Purpose: Load the Shape, the curve and initialize the
55 -- tolerance used for the classification.
56 is static;
57
58 Init(me : in out;
59 Sh : Shape from TopoDS;
60 L : Lin from gp;
61 Tol: Real from Standard)
62
63 --- Purpose: Load the Shape, the curve and initialize the
64 -- tolerance used for the classification.
65 is static;
66
67 More(me)
68
69 --- Purpose: returns True if there is a current face.
70 returns Boolean from Standard
71 is static;
72
73
74 Next(me: in out)
75
76 --- Purpose: Sets the explorer to the next face.
77 is static;
78
79 Find(me: in out)
80 ---Purpose: Internal function
81 is static protected;
82
83 Point(me)
84
85 ---Purpose: returns the current Intersection point.
86
87 returns IntersectionPoint from IntCurveSurface
88 raises NotDone from StdFail
89 is static;
90
91 Pnt(me)
92 ---Purpose: returns the current geometric Point
93 ---C++: return const &
94 returns Pnt from gp
95 raises NotDone from StdFail
96 is static;
97
98
99 U(me)
100 ---Purpose: returns the U parameter of the current point
101 -- on the current face.
102 returns Real from Standard
103 raises NotDone from StdFail
104 is static;
105
106 V(me)
107 ---Purpose: returns the V parameter of the current point
108 -- on the current face.
109 returns Real from Standard
110 raises NotDone from StdFail
111 is static;
112
113 W(me)
114 ---Purpose: returns the parameter of the current point
115 -- on the curve.
116 returns Real from Standard
117 raises NotDone from StdFail
118 is static;
119
120 State(me)
121
122 ---Purpose: returns the current state (IN or ON)
123 returns State from TopAbs
124 raises NotDone from StdFail
125 is static;
126
127 Transition(me)
128
129 ---Purpose: returns the transition of the line on the surface (IN or OUT or UNKNOWN)
130 returns TransitionOnCurve from IntCurveSurface
131 raises NotDone from StdFail
132 is static;
133
134 Face(me)
135
136 ---Purpose: returns the current face.
137 ---C++: return const &
138 returns Face from TopoDS
139 is static;
140
141
142fields
143
144 empty : Boolean from Standard;
145 curveisaline : Boolean from Standard;
146 tolerance : Real from Standard;
147 line : Lin from gp;
148 curve : Curve from GeomAdaptor;
149
150 explorer : Explorer from TopExp;
151 classifier : FaceClassifier from BRepClass;
152 --intcs : ICSInter from BRepIntCurveSurface;
153 intcs : HInter from IntCurveSurface;
154
155 currentindex : Integer from Standard;
156 currentnbpoints: Integer from Standard;
157--modified by NIZNHY-PKV Sun Dec 15 16:51:34 2002 f
158 FastClass : TopolTool from BRepTopAdaptor;
159 SurfForFastClass: HSurface from BRepAdaptor;
160 currentstate : State from TopAbs;
161 currentU : Real from Standard;
162 currentV : Real from Standard;
163--modified by NIZNHY-PKV Sun Dec 15 16:52:15 2002 t
164end Inter from BRepIntCurveSurface;