]> SALOME platform Git repositories - modules/geom.git/blob - src/NMTAlgo/NMTAlgo_Builder.cdl
Salome HOME
0020367: EDF STUDY : Default preferences
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Builder.cdl
1 --  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 --  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 --  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 --
6 --  This library is free software; you can redistribute it and/or
7 --  modify it under the terms of the GNU Lesser General Public
8 --  License as published by the Free Software Foundation; either
9 --  version 2.1 of the License.
10 --
11 --  This library is distributed in the hope that it will be useful,
12 --  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 --  Lesser General Public License for more details.
15 --
16 --  You should have received a copy of the GNU Lesser General Public
17 --  License along with this library; if not, write to the Free Software
18 --  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 --
20 --  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 --
22 --  File:       NMTAlgo_Builder.cdl
23 --  Created:    Tue Jan 27 15:09:45 2004
24 --  Author:     Peter KURNEV
25
26
27 class Builder from NMTAlgo  
28     inherits Algo from NMTAlgo 
29
30         ---Purpose: 
31
32 uses  
33     Shape from TopoDS, 
34     Face  from TopoDS,
35     Edge  from TopoDS,
36     IndexedMapOfShape                from TopTools, 
37     IndexedDataMapOfShapeListOfShape from TopTools,  
38     IndexedDataMapOfShapeShape       from TopTools,
39     Image from BRepAlgo,
40     DSFiller from NMTTools
41 --raises
42
43 is 
44     Create 
45         returns Builder from NMTAlgo;  
46     ---C++: alias "Standard_EXPORT virtual ~NMTAlgo_Builder();" 
47
48     Clear (me:out) 
49         is redefined;             
50      
51     ComputeWithFiller(me:out; 
52         aDSF: DSFiller from NMTTools) 
53         is redefined;  
54      
55     FillImagesEdges (me:out) 
56         is protected; 
57          
58     FillIn2DParts (me:out) 
59         is protected; 
60          
61     FillImagesFaces (me:out) 
62         is protected;  
63          
64     FillSDFaces  (me:out) 
65         is protected; 
66         
67     ---  Queries 
68     SplitVertices  (me:out) 
69         is protected;   
70
71     IsSectionEdge (me;  
72             E : Edge from TopoDS) 
73         returns Boolean from Standard 
74         is protected;     
75          
76     HasSameDomainF(me;  
77             F : Face from TopoDS)
78         returns Boolean from Standard 
79         is protected;
80     
81     IsSameDomainF(me;  
82             F1 : Face from TopoDS;
83             F2 : Face from TopoDS)
84         returns Boolean from Standard 
85         is protected;
86
87 fields 
88
89     myImagesEdges       : Image from BRepAlgo is protected; 
90     myImagesFaces       : Image from BRepAlgo is protected; 
91     
92     myQueryShapes       : IndexedMapOfShape                from TopTools is protected;
93     -- 
94     myIn2DParts         : IndexedDataMapOfShapeListOfShape from TopTools is protected;         
95     mySectionParts      : IndexedDataMapOfShapeListOfShape from TopTools is protected; 
96     mySDFaces           : IndexedDataMapOfShapeShape       from TopTools is protected;
97     --       
98 end Builder;