0023024: Update headers of OCCT files
[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
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23
24package BRepPrimAPI
25
26 ---Purpose: The BRepBuilderAPI package provides an Application
27 -- Programming Interface for the BRep topology data
28 -- structure.
29 --
30 -- The API is a set of classes aiming to provide :
31 --
32 -- * High level and simple calls for the most common
33 -- operations.
34 --
35 -- * Keeping an access on the low-level
36 -- implementation of high-level calls.
37 --
38 -- * Examples of programming of high-level operations
39 -- from low-level operations.
40 --
41 -- * A complete coverage of modelling :
42 --
43 -- - Creating vertices ,edges, faces, solids.
44 --
45 -- - Sweeping operations.
46 --
47 -- - Boolean operations.
48 --
49 -- - Global properties computation.
50 --
51 --
52 -- The API provides classes to build objects:
53 --
54 -- * The constructors of the classes provides the
55 -- different constructions methods.
56 --
57 -- * The class keeps as fields the different tools
58 -- used to build the object.
59 --
60 -- * The class provides a casting method to get
61 -- automatically the result with a function-like
62 -- call.
63 --
64 -- For example to make a vertex <V> from a point <P>
65 -- one can writes :
66 --
67 -- V = BRepBuilderAPI_MakeVertex(P);
68 --
69 -- or
70 --
71 -- BRepBuilderAPI_MakeVertex MV(P);
72 -- V = MV.Vertex();
73 --
74 --
75 -- For tolerances a default precision is used which
76 -- can be changed by the packahe method
77 -- BRepBuilderAPI::Precision.
78 --
79 -- For error handling the BRepBuilderAPI commands raise only
80 -- the NotDone error. When Done is false on a command
81 -- the error description can be asked to the command.
82 --
83 -- In theory the comands can be called with any
84 -- arguments, argument checking is performed by the
85 -- command.
86
87
88
89uses
90 StdFail,
91 gp,
92 TColgp,
93 Geom2d,
94 Geom,
95 GeomAbs,
96 TopAbs,
97 TopoDS,
98 TopTools,
99 TopLoc,
100 BRep,
101 BRepLib,
102 BRepTools,
103 BRepPrim,
104 BRepBuilderAPI,
105 BRepSweep
106
107is
108
109 --
110 -- Primitives
111 --
112
113 class MakeHalfSpace; --- inherits MakeShape from BRepBuilderAPI
114
115 class MakeBox; --- inherits MakeShape from BRepBuilderAPI
116
117 class MakeWedge; --- inherits MakeShape from BRepBuilderAPI
118
119 deferred class MakeOneAxis; --- inherits MakeShape from BRepBuilderAPI
120 ---Purpose: Root class for rotational primitives.
121
122 class MakeCylinder; --- inherits MakeShape from BRepBuilderAPI
123
124 class MakeCone; --- inherits MakeShape from BRepBuilderAPI
125
126 class MakeSphere; --- inherits MakeOneAxis from BRepPrimAPI
127
128 class MakeTorus; --- inherits MakeOneAxis from BRepPrimAPI
129
130 class MakeRevolution; --- inherits MakeOneAxis from BRepPrimAPI
131
132 --
133 -- Sweeping
134 --
135
136 deferred class MakeSweep; --- inherits MakeShape from BRepBuilderAPI
137
138 class MakePrism; --- inherits MakeSweep from BRepPrimAPI
139
140 class MakeRevol; --- inherits MakeSweep from BRepPrimAPI
141
142
143
144
145end BRepPrimAPI;