Salome HOME
[bos #26800] EDF 24492 - Pb with defeaturing
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.h
index 3dfed0f86756fb8394b8b3d78ecefe2600f67712..fad3425c05e15990e474458e8ac76494d1e075be 100644 (file)
@@ -110,6 +110,11 @@ public:
   GEOMAPI_EXPORT
   virtual bool isCompoundOfSolids() const;
 
+  /// Returns true, if the shape contains only solids, compsolids
+  /// and compounds of solids and compsolids of any nesting depth
+  GEOMAPI_EXPORT
+  virtual bool isCollectionOfSolids() const;
+
   /// Returns whether the shape is a compound where all elements are topologically connected
   GEOMAPI_EXPORT
   virtual bool isConnectedTopology() const;