SHAPER  9.12.0
FeaturesAPI_ExtrusionBoolean.h
1 // Copyright (C) 2014-2023 CEA, EDF
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 
20 #ifndef FeaturesAPI_ExtrusionBoolean_H_
21 #define FeaturesAPI_ExtrusionBoolean_H_
22 
23 #include "FeaturesAPI.h"
24 
25 #include <FeaturesPlugin_ExtrusionCut.h>
26 #include <FeaturesPlugin_ExtrusionFuse.h>
27 
28 #include <ModelHighAPI_Interface.h>
29 #include <ModelHighAPI_Macro.h>
30 
34 
39 {
40 public:
42  FEATURESAPI_EXPORT
44 
45  INTERFACE_11("",
68 
69 
70  FEATURESAPI_EXPORT
71  void setNestedSketch(const ModelHighAPI_Reference& theSketch);
72 
74  FEATURESAPI_EXPORT
75  void setBase(const std::list<ModelHighAPI_Selection>& theBaseObjects);
76 
78  FEATURESAPI_EXPORT
79  void setDirection(const ModelHighAPI_Selection& theDirection);
80 
82  FEATURESAPI_EXPORT
83  void setSizes(const ModelHighAPI_Double& theToSize, const ModelHighAPI_Double& theFromSize);
84 
86  FEATURESAPI_EXPORT
87  void setSize(const ModelHighAPI_Double& theSize);
88 
91  FEATURESAPI_EXPORT
92  void setPlanesAndOffsets(const ModelHighAPI_Selection& theToObject,
93  const ModelHighAPI_Double& theToOffset,
94  const ModelHighAPI_Selection& theFromObject,
95  const ModelHighAPI_Double& theFromOffset);
96 
98  FEATURESAPI_EXPORT
99  void setBooleanObjects(const std::list<ModelHighAPI_Selection>& theBooleanObjects);
100 
102  FEATURESAPI_EXPORT
103  virtual void dump(ModelHighAPI_Dumper& theDumper) const;
104 
105 protected:
107  FEATURESAPI_EXPORT
108  explicit FeaturesAPI_ExtrusionBoolean(const std::shared_ptr<ModelAPI_Feature>& theFeature);
109 
110 private:
111  void execIfBaseNotEmpty();
112 };
113 
118 {
119 public:
120 
121  static std::string ID() { return FeaturesPlugin_ExtrusionCut::ID(); }
122  virtual std::string getID() { return ID(); }
123 
124  //FEATURESAPI_EXPORT
125  //virtual std::string getID() {
126  // return FeaturesPlugin_ExtrusionCut::ID();
127  //}
128 
130  FEATURESAPI_EXPORT
131  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature);
132 
134  FEATURESAPI_EXPORT
135  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
136  const std::list<ModelHighAPI_Selection>& theBaseObjects,
137  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
138 
140  FEATURESAPI_EXPORT
141  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
142  const std::list<ModelHighAPI_Selection>& theBaseObjects,
143  const ModelHighAPI_Double& theSize,
144  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
145 
147  FEATURESAPI_EXPORT
148  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
149  const std::list<ModelHighAPI_Selection>& theBaseObjects,
150  const ModelHighAPI_Selection& theDirection,
151  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
152 
154  FEATURESAPI_EXPORT
155  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
156  const std::list<ModelHighAPI_Selection>& theBaseObjects,
157  const ModelHighAPI_Selection& theDirection,
158  const ModelHighAPI_Double& theSize,
159  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
160 
162  FEATURESAPI_EXPORT
163  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
164  const std::list<ModelHighAPI_Selection>& theBaseObjects,
165  const ModelHighAPI_Double& theToSize,
166  const ModelHighAPI_Double& theFromSize,
167  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
168 
170  FEATURESAPI_EXPORT
171  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
172  const std::list<ModelHighAPI_Selection>& theBaseObjects,
173  const ModelHighAPI_Selection& theDirection,
174  const ModelHighAPI_Double& theToSize,
175  const ModelHighAPI_Double& theFromSize,
176  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
177 
179  FEATURESAPI_EXPORT
180  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
181  const std::list<ModelHighAPI_Selection>& theBaseObjects,
182  const ModelHighAPI_Selection& theToObject,
183  const ModelHighAPI_Double& theToOffset,
184  const ModelHighAPI_Selection& theFromObject,
185  const ModelHighAPI_Double& theFromOffset,
186  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
187 
189  FEATURESAPI_EXPORT
190  explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
191  const std::list<ModelHighAPI_Selection>& theBaseObjects,
192  const ModelHighAPI_Selection& theDirection,
193  const ModelHighAPI_Selection& theToObject,
194  const ModelHighAPI_Double& theToOffset,
195  const ModelHighAPI_Selection& theFromObject,
196  const ModelHighAPI_Double& theFromOffset,
197  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
198 };
199 
201 typedef std::shared_ptr<FeaturesAPI_ExtrusionCut> ExtrusionCutPtr;
202 
205 FEATURESAPI_EXPORT
206 ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePart,
207  const std::list<ModelHighAPI_Selection>& theBaseObjects,
208  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
209 
212 FEATURESAPI_EXPORT
213 ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePart,
214  const std::list<ModelHighAPI_Selection>& theBaseObjects,
215  const ModelHighAPI_Double& theSize,
216  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
217 
220 FEATURESAPI_EXPORT
221 ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePart,
222  const std::list<ModelHighAPI_Selection>& theBaseObjects,
223  const ModelHighAPI_Selection& theDirection,
224  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
225 
228 FEATURESAPI_EXPORT
229 ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePart,
230  const std::list<ModelHighAPI_Selection>& theBaseObjects,
231  const ModelHighAPI_Selection& theDirection,
232  const ModelHighAPI_Double& theSize,
233  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
234 
237 FEATURESAPI_EXPORT
238 ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePart,
239  const std::list<ModelHighAPI_Selection>& theBaseObjects,
240  const ModelHighAPI_Double& theToSize,
241  const ModelHighAPI_Double& theFromSize,
242  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
243 
246 FEATURESAPI_EXPORT
247 ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePart,
248  const std::list<ModelHighAPI_Selection>& theBaseObjects,
249  const ModelHighAPI_Selection& theDirection,
250  const ModelHighAPI_Double& theToSize,
251  const ModelHighAPI_Double& theFromSize,
252  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
253 
256 FEATURESAPI_EXPORT
257 ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePart,
258  const std::list<ModelHighAPI_Selection>& theBaseObjects,
259  const ModelHighAPI_Selection& theToObject,
260  const ModelHighAPI_Double& theToOffset,
261  const ModelHighAPI_Selection& theFromObject,
262  const ModelHighAPI_Double& theFromOffset,
263  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
264 
267 FEATURESAPI_EXPORT
268 ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePart,
269  const std::list<ModelHighAPI_Selection>& theBaseObjects,
270  const ModelHighAPI_Selection& theDirection,
271  const ModelHighAPI_Selection& theToObject,
272  const ModelHighAPI_Double& theToOffset,
273  const ModelHighAPI_Selection& theFromObject,
274  const ModelHighAPI_Double& theFromOffset,
275  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
276 
281 {
282 public:
283  static std::string ID() { return FeaturesPlugin_ExtrusionFuse::ID(); }
284  virtual std::string getID() { return ID(); }
285 
287  FEATURESAPI_EXPORT
288  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature);
289 
291  FEATURESAPI_EXPORT
292  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
293  const std::list<ModelHighAPI_Selection>& theBaseObjects,
294  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
295 
297  FEATURESAPI_EXPORT
298  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
299  const std::list<ModelHighAPI_Selection>& theBaseObjects,
300  const ModelHighAPI_Double& theSize,
301  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
302 
304  FEATURESAPI_EXPORT
305  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
306  const std::list<ModelHighAPI_Selection>& theBaseObjects,
307  const ModelHighAPI_Selection& theDirection,
308  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
309 
311  FEATURESAPI_EXPORT
312  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
313  const std::list<ModelHighAPI_Selection>& theBaseObjects,
314  const ModelHighAPI_Selection& theDirection,
315  const ModelHighAPI_Double& theSize,
316  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
317 
319  FEATURESAPI_EXPORT
320  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
321  const std::list<ModelHighAPI_Selection>& theBaseObjects,
322  const ModelHighAPI_Double& theToSize,
323  const ModelHighAPI_Double& theFromSize,
324  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
325 
327  FEATURESAPI_EXPORT
328  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
329  const std::list<ModelHighAPI_Selection>& theBaseObjects,
330  const ModelHighAPI_Selection& theDirection,
331  const ModelHighAPI_Double& theToSize,
332  const ModelHighAPI_Double& theFromSize,
333  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
334 
336  FEATURESAPI_EXPORT
337  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
338  const std::list<ModelHighAPI_Selection>& theBaseObjects,
339  const ModelHighAPI_Selection& theToObject,
340  const ModelHighAPI_Double& theToOffset,
341  const ModelHighAPI_Selection& theFromObject,
342  const ModelHighAPI_Double& theFromOffset,
343  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
344 
346  FEATURESAPI_EXPORT
347  explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
348  const std::list<ModelHighAPI_Selection>& theBaseObjects,
349  const ModelHighAPI_Selection& theDirection,
350  const ModelHighAPI_Selection& theToObject,
351  const ModelHighAPI_Double& theToOffset,
352  const ModelHighAPI_Selection& theFromObject,
353  const ModelHighAPI_Double& theFromOffset,
354  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
355 };
356 
358 typedef std::shared_ptr<FeaturesAPI_ExtrusionFuse> ExtrusionFusePtr;
359 
362 FEATURESAPI_EXPORT
363 ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr<ModelAPI_Document>& thePart,
364  const std::list<ModelHighAPI_Selection>& theBaseObjects,
365  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
366 
369 FEATURESAPI_EXPORT
370 ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr<ModelAPI_Document>& thePart,
371  const std::list<ModelHighAPI_Selection>& theBaseObjects,
372  const ModelHighAPI_Double& theSize,
373  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
374 
377 FEATURESAPI_EXPORT
378 ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr<ModelAPI_Document>& thePart,
379  const std::list<ModelHighAPI_Selection>& theBaseObjects,
380  const ModelHighAPI_Selection& theDirection,
381  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
382 
385 FEATURESAPI_EXPORT
386 ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr<ModelAPI_Document>& thePart,
387  const std::list<ModelHighAPI_Selection>& theBaseObjects,
388  const ModelHighAPI_Selection& theDirection,
389  const ModelHighAPI_Double& theSize,
390  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
391 
394 FEATURESAPI_EXPORT
395 ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr<ModelAPI_Document>& thePart,
396  const std::list<ModelHighAPI_Selection>& theBaseObjects,
397  const ModelHighAPI_Double& theToSize,
398  const ModelHighAPI_Double& theFromSize,
399  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
400 
403 FEATURESAPI_EXPORT
404 ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr<ModelAPI_Document>& thePart,
405  const std::list<ModelHighAPI_Selection>& theBaseObjects,
406  const ModelHighAPI_Selection& theDirection,
407  const ModelHighAPI_Double& theToSize,
408  const ModelHighAPI_Double& theFromSize,
409  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
410 
413 FEATURESAPI_EXPORT
414 ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr<ModelAPI_Document>& thePart,
415  const std::list<ModelHighAPI_Selection>& theBaseObjects,
416  const ModelHighAPI_Selection& theToObject,
417  const ModelHighAPI_Double& theToOffset,
418  const ModelHighAPI_Selection& theFromObject,
419  const ModelHighAPI_Double& theFromOffset,
420  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
421 
424 FEATURESAPI_EXPORT
425 ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr<ModelAPI_Document>& thePart,
426  const std::list<ModelHighAPI_Selection>& theBaseObjects,
427  const ModelHighAPI_Selection& theDirection,
428  const ModelHighAPI_Selection& theToObject,
429  const ModelHighAPI_Double& theToOffset,
430  const ModelHighAPI_Selection& theFromObject,
431  const ModelHighAPI_Double& theFromOffset,
432  const std::list<ModelHighAPI_Selection>& theBooleanObjects);
433 
434 #endif // FeaturesAPI_ExtrusionBoolean_H_
Interface for ExtrusionBoolean feature.
Definition: FeaturesAPI_ExtrusionBoolean.h:39
void setDirection(const ModelHighAPI_Selection &theDirection)
Modify direction_object attribute of the feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:70
void setSizes(const ModelHighAPI_Double &theToSize, const ModelHighAPI_Double &theFromSize)
Modify CreationMethod, to_size, from_size attributes of the feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:78
virtual std::shared_ptr< ModelAPI_AttributeSelection > fromObject() const
From object.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
virtual std::shared_ptr< ModelAPI_AttributeDouble > fromOffset() const
From offset.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
virtual std::shared_ptr< ModelAPI_AttributeString > creationMethod() const
Creation method.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
virtual std::shared_ptr< ModelAPI_AttributeSelection > toObject() const
To object.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
virtual std::shared_ptr< ModelAPI_AttributeDouble > toSize() const
To size.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
void setBase(const std::list< ModelHighAPI_Selection > &theBaseObjects)
Modify base attribute of the feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:60
virtual std::shared_ptr< ModelAPI_AttributeSelection > direction() const
Direction.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
void setBooleanObjects(const std::list< ModelHighAPI_Selection > &theBooleanObjects)
Modiyfy main_objects attribute of the feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:110
virtual std::shared_ptr< ModelAPI_AttributeDouble > toOffset() const
To offset.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
virtual std::shared_ptr< ModelAPI_AttributeSelectionList > baseObjects() const
Base objects.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
virtual std::shared_ptr< ModelAPI_AttributeDouble > fromSize() const
From size.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
virtual ~FeaturesAPI_ExtrusionBoolean()
Destructor.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:35
void setSize(const ModelHighAPI_Double &theSize)
Modify creation_method, to_size, from_size attributes of the feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:89
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:119
virtual std::shared_ptr< ModelAPI_AttributeSelectionList > booleanObjects() const
Boolean objects.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
virtual std::shared_ptr< ModelAPI_AttributeReference > sketch() const
Sketch launcher.
Definition: FeaturesAPI_ExtrusionBoolean.h:67
void setNestedSketch(const ModelHighAPI_Reference &theSketch)
Modify base attribute of the feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:40
void setPlanesAndOffsets(const ModelHighAPI_Selection &theToObject, const ModelHighAPI_Double &theToOffset, const ModelHighAPI_Selection &theFromObject, const ModelHighAPI_Double &theFromOffset)
Modify creation_method, to_object, to_offset, from_object, from_offset attributes of the feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:95
Interface for ExtrusionCut feature.
Definition: FeaturesAPI_ExtrusionBoolean.h:118
Interface for ExtrusionFuse feature.
Definition: FeaturesAPI_ExtrusionBoolean.h:281
static const std::string & OBJECTS_ID()
Attribute name of main objects.
Definition: FeaturesPlugin_CompositeBoolean.h:44
static const std::string & BASE_OBJECTS_ID()
Attribute name of base objects.
Definition: FeaturesPlugin_CompositeSketch.h:43
static const std::string & SKETCH_ID()
Attribute name of sketch feature.
Definition: FeaturesPlugin_CompositeSketch.h:36
static const std::string & ID()
Feature kind.
Definition: FeaturesPlugin_ExtrusionCut.h:36
static const std::string & ID()
Feature kind.
Definition: FeaturesPlugin_ExtrusionFuse.h:36
static const std::string & CREATION_METHOD()
Attribute name for creation method.
Definition: FeaturesPlugin_Extrusion.h:50
static const std::string & FROM_SIZE_ID()
Attribute name of extrusion from size.
Definition: FeaturesPlugin_Extrusion.h:92
static const std::string & TO_SIZE_ID()
Attribute name of extrusion to size.
Definition: FeaturesPlugin_Extrusion.h:85
static const std::string & TO_OBJECT_ID()
Attribute name of an object to which the extrusion grows.
Definition: FeaturesPlugin_Extrusion.h:99
static const std::string & FROM_OBJECT_ID()
Attribute name of an object from which the extrusion grows.
Definition: FeaturesPlugin_Extrusion.h:113
static const std::string & DIRECTION_OBJECT_ID()
Attribute name of an object to which the extrusion grows.
Definition: FeaturesPlugin_Extrusion.h:78
static const std::string & TO_OFFSET_ID()
Attribute name of extrusion offset.
Definition: FeaturesPlugin_Extrusion.h:106
static const std::string & FROM_OFFSET_ID()
Attribute name of extrusion offset.
Definition: FeaturesPlugin_Extrusion.h:120
Attribute that contains real value with double precision.
Definition: ModelAPI_AttributeDouble.h:34
Attribute that contains reference to feature (located in the same document).
Definition: ModelAPI_AttributeReference.h:32
Attribute that contains list of references to the sub-shapes with possibility to manage them.
Definition: ModelAPI_AttributeSelectionList.h:37
Attribute that contains reference to the sub-shape of some result, the selected shape.
Definition: ModelAPI_AttributeSelection.h:35
API for the attribute that contains std (null terminated) string.
Definition: ModelAPI_AttributeString.h:33
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:39
Class for filling ModelAPI_AttributeDouble.
Definition: ModelHighAPI_Double.h:37
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:42
Class for filling ModelAPI_AttributeReference.
Definition: ModelHighAPI_Reference.h:41
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
ExtrusionCutPtr addExtrusionCut(const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const std::list< ModelHighAPI_Selection > &theBooleanObjects)
Create ExtrusionCut feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:323
ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const std::list< ModelHighAPI_Selection > &theBooleanObjects)
Create ExtrusionFuse feature.
Definition: FeaturesAPI_ExtrusionBoolean.cpp:587