0024428: Implementation of LGPL license
[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
9 -- under the terms of the GNU Lesser General Public 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: Implement the Intersector2d required by the classifier.
21
22 uses
23     Lin2d from gp,
24     Dir2d from gp,
25     Edge  from BRepClass
26
27 is
28     Create returns Intersector from BRepClass;
29     
30     Perform(me : in out; 
31             L : Lin2d from gp; P : Real; Tol : Real; 
32             E : Edge from BRepClass)
33         ---Purpose: Intersect the line segment and the edge.
34     is static;
35
36     LocalGeometry(me; E : Edge from BRepClass;
37                       U : Real; 
38                       T : out Dir2d from gp; 
39                       N : out Dir2d from gp; 
40                       C : out Real)
41         ---Purpose: Returns in <T>,  <N> and <C>  the tangent,  normal
42         --          and  curvature of the edge  <E> at parameter value
43         --          <U>.
44     is static;
45
46 end Intersector;