1 -- File: TopClass_Intersection3d.cdl
2 -- Created: Wed Mar 30 14:37:00 1994
3 -- Author: Laurent BUCHARD
5 ---Copyright: Matra Datavision 1994
11 deferred class Intersection3d from TopClass
12 ---Purpose: Template class for the intersection algorithm required
13 -- by the 3D classifications.
15 -- (a intersection point near the origin of the line, ie.
16 -- at a distance less or equal than <tolerance>, will be
17 -- returned even if it has a negative parameter.)
25 IntersectionPoint from IntCurveSurface
30 ---Purpose: Empty constructor.
32 Perform(me: in out; L : Lin from gp;
33 Prm : Real from Standard;
34 Tol : Real from Standard;
35 Face : Face from TopoDS)
36 ---Purpose: Perform the intersection between the
37 -- segment L(0) ... L(Prm) and the Face <Face>.
39 -- Only the point with the smallest parameter on the
42 -- The Tolerance <Tol> is used to determine if the
43 -- first point of the segment is near the face. In
44 -- that case, the parameter of the intersection point
45 -- on the line can be a negative value (greater than -Tol).
50 ---Purpose: True is returned when the intersection have been computed.
51 returns Boolean from Standard
56 ---Purpose: True is returned if a point has been found.
57 returns Boolean from Standard
62 ---Purpose: Returns the Intersection Point.
64 ---C++: return const &
65 returns IntersectionPoint from IntCurveSurface
70 ---Purpose: Returns the state of the point on the face.
71 -- The values can be either TopAbs_IN
72 -- ( the point is in the face)
74 -- ( the point is on a boudary of the face).
76 returns State from TopAbs
79 ---------------------- Loacl Geometry avec courbureS dans une
80 -- direction et la direction normale