]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Shape.h
Salome HOME
Issue #1369: Added "Create Shell" feature.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.h
index 7adf4da806700ea5f439f8963d727e2b44bfd770..1ed86db9c1059bf83a3acc89f098d11bc9382961 100644 (file)
@@ -78,6 +78,11 @@ public:
   GEOMAPI_EXPORT
   virtual std::string shapeTypeStr() const;
 
+  /// \return true if passed shape is a sub-shape of this shape.
+  /// \param theShape shape to search.
+  GEOMAPI_EXPORT virtual bool isSubShape(const std::shared_ptr<GeomAPI_Shape> theShape) const;
+
+
   /// Computes boundary dimensions of the shape
   /// Returns False if it is not possible
   GEOMAPI_EXPORT