summaryrefslogtreecommitdiff
path: root/src/BRepFeat/BRepFeat_Builder.cdl
blob: d5138b4699d0e9d2e2f0a97bb9b960f25c15218c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
-- File:	BRepFeat_Builder.cdl
-- Created:	Tue Jun 13 14:23:53 1995
-- Author:	Jacques GOUSSARD
--		<jag@bravox>
---Copyright:	 Matra Datavision 1995


deferred class Builder from BRepFeat inherits MakeShape from BRepBuilderAPI

	---Purpose: Provides  the   implementation  of  all    methods
	--          required by BRepCtx for class using a Builder from
	--          LocOpe.  All  features have  to inherit  from this
	--          class. 

uses 
    Builder           from LocOpe,
    Shape             from TopoDS,
    Face              from TopoDS,
    Edge              from TopoDS,
    MapOfShape        from TopTools,
    ListOfShape       from TopTools,
    ShapeModification from BRepBuilderAPI

raises
    NotDone           from StdFail,
    ConstructionError from Standard

is

    Initialize;
	---Purpose: Empty constructor.
	---C++: inline
	
	
    Initialize(S: Shape from TopoDS)
	---Purpose: Creates a local operation on <S>.
	---C++: inline
	-- Raises ConstructionError  if <S> is a null shape.
	raises ConstructionError from Standard;


    Initialize(S,T: Shape from TopoDS)
	---Purpose: Creates a local operation between <S> and <T>.
	---C++: inline
	-- Raises ConstructionError if <S> is a null shape
	raises ConstructionError from Standard;


    Init(me: in out; S: Shape from TopoDS)
	---Purpose: Initializes a local operation on <S>.
	---C++: inline
	raises ConstructionError from Standard
	--- The exception is raised if <S> is a null shape.
    	is static;

    Init(me: in out; S,T: Shape from TopoDS)
	---Purpose: Initializes a local operation between <S> and <T>.
	-- Raises ConstructionError if <S> is a null shape.
	---C++: inline
	raises ConstructionError from Standard
    	is static;



--- Methods inherited from MakeShape, that must be redefined.

    Modified(me: in out; F: Shape from TopoDS)
    	---Purpose: Returns the list of generated Faces.
	---C++:     return const & 
    returns ListOfShape from TopTools
    is redefined static;
    
fields

    myBuilder : Builder    from LocOpe   is protected;
    myMap     : MapOfShape from TopTools is protected;
    myGenFaces: ListOfShape from TopTools is protected;
end Builder;