1 -- Created on: 1994-04-01
2 -- Created by: Laurent BUCHARD
3 -- Copyright (c) 1994-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class Intersector3d from BRepClass3d
26 TransitionOnCurve from IntCurveSurface
30 Create returns Intersector3d from BRepClass3d;
31 ---Purpose: Empty constructor.
33 Perform(me: in out; L : Lin from gp;
34 Prm : Real from Standard;
35 Tol : Real from Standard;
37 ---Purpose: Perform the intersection between the
38 -- segment L(0) ... L(Prm) and the Shape <Sh>.
40 -- Only the point with the smallest parameter on the
43 -- The Tolerance <Tol> is used to determine if the
44 -- first point of the segment is near the face. In
45 -- that case, the parameter of the intersection point
46 -- on the line can be a negative value (greater than -Tol).
51 ---Purpose: True is returned when the intersection have been computed.
53 returns Boolean from Standard
58 ---Purpose: True is returned if a point has been found.
60 returns Boolean from Standard
65 ---Purpose: Returns the U parameter of the intersection point
68 returns Real from Standard
72 ---Purpose: Returns the V parameter of the intersection point
75 returns Real from Standard
79 ---Purpose: Returns the parameter of the intersection point
82 returns Real from Standard
87 ---Purpose: Returns the geometric point of the intersection
88 -- between the line and the surface.
90 ---C++: return const &
96 ---Purpose: Returns the transition of the line on the surface.
98 returns TransitionOnCurve from IntCurveSurface
103 ---Purpose: Returns the state of the point on the face.
104 -- The values can be either TopAbs_IN
105 -- ( the point is in the face)
107 -- ( the point is on a boudary of the face).
110 returns State from TopAbs
114 ---Purpose: Returns the significant face used to determine
118 ---C++: return const &
119 returns Face from TopoDS
123 ---------------------- Local Geometry avec courbureS dans une
124 -- direction et la direction normale
129 U : Real from Standard;
130 V : Real from Standard;
131 W : Real from Standard;
132 transition : TransitionOnCurve from IntCurveSurface;
133 done : Boolean from Standard;
134 hasapoint : Boolean from Standard;
135 state : State from TopAbs;
136 face : Face from TopoDS;