0024784: Move documentation in CDL files to proper location
[occt.git] / src / BRepPrimAPI / BRepPrimAPI.cdl
CommitLineData
b311480e 1-- Created on: 1993-07-06
2-- Created by: Remi LEQUETTE
3-- Copyright (c) 1993-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17package BRepPrimAPI
18
19 ---Purpose: The BRepBuilderAPI package provides an Application
20 -- Programming Interface for the BRep topology data
21 -- structure.
22 --
23 -- The API is a set of classes aiming to provide :
24 --
25 -- * High level and simple calls for the most common
26 -- operations.
27 --
28 -- * Keeping an access on the low-level
29 -- implementation of high-level calls.
30 --
31 -- * Examples of programming of high-level operations
32 -- from low-level operations.
33 --
34 -- * A complete coverage of modelling :
35 --
36 -- - Creating vertices ,edges, faces, solids.
37 --
38 -- - Sweeping operations.
39 --
40 -- - Boolean operations.
41 --
42 -- - Global properties computation.
43 --
44 --
45 -- The API provides classes to build objects:
46 --
47 -- * The constructors of the classes provides the
48 -- different constructions methods.
49 --
50 -- * The class keeps as fields the different tools
51 -- used to build the object.
52 --
53 -- * The class provides a casting method to get
54 -- automatically the result with a function-like
55 -- call.
56 --
57 -- For example to make a vertex <V> from a point <P>
58 -- one can writes :
59 --
60 -- V = BRepBuilderAPI_MakeVertex(P);
61 --
62 -- or
63 --
64 -- BRepBuilderAPI_MakeVertex MV(P);
65 -- V = MV.Vertex();
66 --
67 --
68 -- For tolerances a default precision is used which
69 -- can be changed by the packahe method
70 -- BRepBuilderAPI::Precision.
71 --
72 -- For error handling the BRepBuilderAPI commands raise only
73 -- the NotDone error. When Done is false on a command
74 -- the error description can be asked to the command.
75 --
76 -- In theory the comands can be called with any
77 -- arguments, argument checking is performed by the
78 -- command.
79
80
81
82uses
83 StdFail,
84 gp,
85 TColgp,
86 Geom2d,
87 Geom,
88 GeomAbs,
89 TopAbs,
90 TopoDS,
91 TopTools,
92 TopLoc,
93 BRep,
94 BRepLib,
95 BRepTools,
96 BRepPrim,
97 BRepBuilderAPI,
98 BRepSweep
99
100is
101
102 --
103 -- Primitives
104 --
105
106 class MakeHalfSpace; --- inherits MakeShape from BRepBuilderAPI
107
108 class MakeBox; --- inherits MakeShape from BRepBuilderAPI
109
110 class MakeWedge; --- inherits MakeShape from BRepBuilderAPI
111
112 deferred class MakeOneAxis; --- inherits MakeShape from BRepBuilderAPI
7fd59977 113
114 class MakeCylinder; --- inherits MakeShape from BRepBuilderAPI
115
116 class MakeCone; --- inherits MakeShape from BRepBuilderAPI
117
118 class MakeSphere; --- inherits MakeOneAxis from BRepPrimAPI
119
120 class MakeTorus; --- inherits MakeOneAxis from BRepPrimAPI
121
122 class MakeRevolution; --- inherits MakeOneAxis from BRepPrimAPI
123
124 --
125 -- Sweeping
126 --
127
128 deferred class MakeSweep; --- inherits MakeShape from BRepBuilderAPI
129
130 class MakePrism; --- inherits MakeSweep from BRepPrimAPI
131
132 class MakeRevol; --- inherits MakeSweep from BRepPrimAPI
133
134
135
136
137end BRepPrimAPI;