0024428: Implementation of LGPL license
[occt.git] / src / BRepAdaptor / BRepAdaptor.cdl
1 -- Created on: 1993-02-19
2 -- Created by: Remi LEQUETTE
3 -- Copyright (c) 1993-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 package BRepAdaptor 
18
19         ---Purpose: The BRepAdaptor package provides classes to access 
20         --          the geometry of the BRep models.
21         --          
22         --          OverView of classes
23         --          
24         --          * Surface :  Provides the methods  of Surface from
25         --          Adpator on a Face.
26         --          
27         --          *  Curve  : Provides  the  methods of  Curve  from
28         --          Adaptor3d on an Edge.
29         --          
30         --          * Curve2d : Provides  the methods of  Curve2d from
31         --          Adaptor2d on an Edge on a Face.
32         --          
33
34 uses
35     gp, 
36     TCollection,
37     TColgp,
38     TColStd,
39     GeomAbs,
40     Adaptor3d,
41     Adaptor2d,
42     Geom,
43     Geom2d,
44     GeomAdaptor,
45     Geom2dAdaptor,
46     TopoDS,
47     BRep
48
49 is
50
51     class Surface;
52         ---Purpose: Transforms a Face in a Surface from Adaptor3d.
53         
54     class Curve;
55         ---Purpose: Transforms an Edge in a Curve from Adaptor3d.
56
57     class Curve2d;
58         ---Purpose: Transforms an Edge   on a Face  in  a Curve2d from
59         --          Adaptor2d. 
60
61     class  CompCurve; 
62         ---Purpose: Transforms a Wire in a Curve from Adaptor3d.
63         
64     class HSurface instantiates GenHSurface from Adaptor3d
65         (Surface from BRepAdaptor);
66
67     class HCurve instantiates GenHCurve from Adaptor3d
68         (Curve from BRepAdaptor);
69
70     class HCurve2d instantiates GenHCurve2d from Adaptor2d
71         (Curve2d from BRepAdaptor); 
72          
73     class HCompCurve instantiates GenHCurve from Adaptor3d
74         (CompCurve from BRepAdaptor); 
75          
76     class Array1OfCurve 
77         instantiates Array1 from TCollection (Curve from BRepAdaptor); 
78          
79     class HArray1OfCurve
80         instantiates HArray1 from TCollection (Curve from BRepAdaptor,
81                                 Array1OfCurve from BRepAdaptor);
82
83 end BRepAdaptor;