Salome HOME
Merge branch 'Dev_GroupsRevision'
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.h
index 7138a776dce347f6dacc99dafde533c9fd8bfe75..51cd414c8b637044ad26813678e8d076026fe7f2 100644 (file)
@@ -154,9 +154,13 @@ public:
   GEOMAPI_EXPORT
   bool isIntersect(const std::shared_ptr<GeomAPI_Shape> theShape) const;
 
-  // Translates the shape along the direction for the given offset
+  /// Translates the shape along the direction for the given offset
   GEOMAPI_EXPORT
   void translate(const std::shared_ptr<GeomAPI_Dir> theDir, const double theOffset);
+
+  /// Returns type of shapes in the compound.
+  // If shapes are of different type then it will return SHAPE type
+  GEOMAPI_EXPORT ShapeType typeOfCompoundShapes() const;
 };
 
 //! Pointer on list of shapes