1 -- Created on: 1994-04-01
2 -- Created by: Laurent BUCHARD
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.
24 class Intersector3d from BRepClass3d
33 TransitionOnCurve from IntCurveSurface
37 Create returns Intersector3d from BRepClass3d;
38 ---Purpose: Empty constructor.
40 Perform(me: in out; L : Lin from gp;
41 Prm : Real from Standard;
42 Tol : Real from Standard;
44 ---Purpose: Perform the intersection between the
45 -- segment L(0) ... L(Prm) and the Shape <Sh>.
47 -- Only the point with the smallest parameter on the
50 -- The Tolerance <Tol> is used to determine if the
51 -- first point of the segment is near the face. In
52 -- that case, the parameter of the intersection point
53 -- on the line can be a negative value (greater than -Tol).
58 ---Purpose: True is returned when the intersection have been computed.
60 returns Boolean from Standard
65 ---Purpose: True is returned if a point has been found.
67 returns Boolean from Standard
72 ---Purpose: Returns the U parameter of the intersection point
75 returns Real from Standard
79 ---Purpose: Returns the V parameter of the intersection point
82 returns Real from Standard
86 ---Purpose: Returns the parameter of the intersection point
89 returns Real from Standard
94 ---Purpose: Returns the geometric point of the intersection
95 -- between the line and the surface.
97 ---C++: return const &
103 ---Purpose: Returns the transition of the line on the surface.
105 returns TransitionOnCurve from IntCurveSurface
110 ---Purpose: Returns the state of the point on the face.
111 -- The values can be either TopAbs_IN
112 -- ( the point is in the face)
114 -- ( the point is on a boudary of the face).
117 returns State from TopAbs
121 ---Purpose: Returns the significant face used to determine
125 ---C++: return const &
126 returns Face from TopoDS
130 ---------------------- Local Geometry avec courbureS dans une
131 -- direction et la direction normale
136 U : Real from Standard;
137 V : Real from Standard;
138 W : Real from Standard;
139 transition : TransitionOnCurve from IntCurveSurface;
140 done : Boolean from Standard;
141 hasapoint : Boolean from Standard;
142 state : State from TopAbs;
143 face : Face from TopoDS;