]> 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 37ba2b462ef86d890c4fb0571c0538f95ed8d008..1ed86db9c1059bf83a3acc89f098d11bc9382961 100644 (file)
@@ -66,6 +66,10 @@ public:
   GEOMAPI_EXPORT
   virtual bool isCompSolid() const;
 
+  /// Returns whether the shape is planar
+  GEOMAPI_EXPORT
+  virtual bool isPlanar() const;
+
   /// Returns the shape type
   GEOMAPI_EXPORT
   virtual ShapeType shapeType() const;
@@ -74,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