76d216fedf5d9256fd22dab121aed4a0232b4b69
[occt.git] / src / BRepPrim / BRepPrim.cdl
1 -- Created on: 1991-07-24
2 -- Created by: Christophe MARION
3 -- Copyright (c) 1991-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 package BRepPrim 
18
19         ---Purpose: this package implements the primitives of the 
20         --          Primitives package with the BRep Topology
21         --          
22         --          Contains :
23         --          a Builder implementing the Template from Primitives
24         --          
25         --          The instantiations of the algorithms :
26         --                OneAxis
27         --                Wedge
28         --                
29         --          The rotational primitives inherited from OneAxis
30         --          
31         --                Revolution
32         --                   Cylinder
33         --                   Cone
34         --                   Sphere
35         --                   Torus
36         --                   
37         --          The  class FaceBuilder is  a tool to  build a face
38         --          from a Geom surface.
39
40 uses
41     gp,
42     Geom2d,
43     Geom,
44     Primitives,
45     TopoDS,
46     BRep
47
48 is
49     class Builder;
50
51     deferred class OneAxis instantiates OneAxis from Primitives(
52         Shell   from TopoDS,
53         Face    from TopoDS,
54         Wire    from TopoDS,
55         Edge    from TopoDS,
56         Vertex  from TopoDS,
57         Builder from BRepPrim);
58         
59     class Revolution;
60     
61     class Cylinder;
62     
63     class Cone;
64     
65     class Sphere;
66     
67     class Torus;
68     
69     class GWedge instantiates Wedge from Primitives(
70         Shell   from TopoDS,
71         Face    from TopoDS,
72         Wire    from TopoDS,
73         Edge    from TopoDS,
74         Vertex  from TopoDS,
75         Builder from BRepPrim);
76         
77     class Wedge;
78         
79     class FaceBuilder;
80     
81 end BRepPrim;