0022627: Change OCCT memory management defaults
[occt.git] / src / BRepFeat / BRepFeat_Builder.cdl
CommitLineData
7fd59977 1-- File: BRepFeat_Builder.cdl
2-- Created: Tue Jun 13 14:23:53 1995
3-- Author: Jacques GOUSSARD
4-- <jag@bravox>
5---Copyright: Matra Datavision 1995
6
7
8deferred class Builder from BRepFeat inherits MakeShape from BRepBuilderAPI
9
10 ---Purpose: Provides the implementation of all methods
11 -- required by BRepCtx for class using a Builder from
12 -- LocOpe. All features have to inherit from this
13 -- class.
14
15uses
16 Builder from LocOpe,
17 Shape from TopoDS,
18 Face from TopoDS,
19 Edge from TopoDS,
20 MapOfShape from TopTools,
21 ListOfShape from TopTools,
22 ShapeModification from BRepBuilderAPI
23
24raises
25 NotDone from StdFail,
26 ConstructionError from Standard
27
28is
29
30 Initialize;
31 ---Purpose: Empty constructor.
32 ---C++: inline
33
34
35 Initialize(S: Shape from TopoDS)
36 ---Purpose: Creates a local operation on <S>.
37 ---C++: inline
38 -- Raises ConstructionError if <S> is a null shape.
39 raises ConstructionError from Standard;
40
41
42 Initialize(S,T: Shape from TopoDS)
43 ---Purpose: Creates a local operation between <S> and <T>.
44 ---C++: inline
45 -- Raises ConstructionError if <S> is a null shape
46 raises ConstructionError from Standard;
47
48
49 Init(me: in out; S: Shape from TopoDS)
50 ---Purpose: Initializes a local operation on <S>.
51 ---C++: inline
52 raises ConstructionError from Standard
53 --- The exception is raised if <S> is a null shape.
54 is static;
55
56 Init(me: in out; S,T: Shape from TopoDS)
57 ---Purpose: Initializes a local operation between <S> and <T>.
58 -- Raises ConstructionError if <S> is a null shape.
59 ---C++: inline
60 raises ConstructionError from Standard
61 is static;
62
63
64
65--- Methods inherited from MakeShape, that must be redefined.
66
67 Modified(me: in out; F: Shape from TopoDS)
68 ---Purpose: Returns the list of generated Faces.
69 ---C++: return const &
70 returns ListOfShape from TopTools
71 is redefined static;
72
73fields
74
75 myBuilder : Builder from LocOpe is protected;
76 myMap : MapOfShape from TopTools is protected;
77 myGenFaces: ListOfShape from TopTools is protected;
78end Builder;