]> SALOME platform Git repositories - modules/shaper.git/blob - src/ModelGeomAlgo/ModelGeomAlgo_Shape.h
Salome HOME
Issue #2071 Fatal error when Create box
[modules/shaper.git] / src / ModelGeomAlgo / ModelGeomAlgo_Shape.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        ModelGeomAlgo_Point2D.h
4 // Created:     20 Jul 2016
5 // Author:      Natalia ERMOLAEVA
6
7 #ifndef ModelGeomAlgo_Shape_H
8 #define ModelGeomAlgo_Shape_H
9
10 #include "ModelGeomAlgo.h"
11 #include "GeomAPI_Shape.h"
12
13 #include <set>
14
15 class ModelAPI_Feature;
16 class ModelAPI_Result;
17
18 namespace ModelGeomAlgo_Shape {
19
20   /// Searches Shape results of the feature satisfied the given shape type
21   /// \param theFeature a feature to obtain AttributeRefAttr
22   /// \param theType shape type
23   /// \param theShapeResults a list of results
24   MODELGEOMALGO_EXPORT void shapesOfType(
25                               const std::shared_ptr<ModelAPI_Feature>& theFeature,
26                               const GeomAPI_Shape::ShapeType& theType,
27                               std::set<std::shared_ptr<ModelAPI_Result> >& theShapeResults);
28 }
29
30 #endif