Salome HOME
NPAL15298: geompy.KindOfShape(aShape) first version implemented.
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Builder.cdl
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 -- File:        NMTAlgo_Builder.cdl
21 -- Created:     Tue Jan 27 15:09:45 2004
22 -- Author:      Peter KURNEV
23 --              <pkv@irinox>
24 ---Copyright:    Matra Datavision 2004
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;