0026206: BRepClass_FaceClassifier returns TopAbs_OUT for internal point
[occt.git] / src / BRepClass / BRepClass_Intersector.cdl
1 -- Created on: 1992-11-19
2 -- Created by: Remi LEQUETTE
3 -- Copyright (c) 1992-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class Intersector from BRepClass 
18 inherits IntConicCurveOfGInter from Geom2dInt
19
20         ---Purpose: Intersect an Edge  with a segment.
21         --          Implement the Intersector2d required by the classifier.
22
23 uses
24     Lin2d from gp,
25     Dir2d from gp,
26     Edge  from BRepClass
27
28 is
29     Create returns Intersector from BRepClass;
30     
31     Perform(me : in out; 
32             L : Lin2d from gp; P : Real; Tol : Real; 
33             E : Edge from BRepClass)
34         ---Purpose: Intersect the line segment and the edge.
35     is static;
36
37     LocalGeometry(me; E : Edge from BRepClass;
38                       U : Real; 
39                       T : out Dir2d from gp; 
40                       N : out Dir2d from gp; 
41                       C : out Real)
42         ---Purpose: Returns in <T>,  <N> and <C>  the tangent,  normal
43         --          and  curvature of the edge  <E> at parameter value
44         --          <U>.
45     is static;
46
47 end Intersector;