1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ModelGeomAlgo_Point2D.h
4 // Created: 20 Jul 2016
5 // Author: Natalia ERMOLAEVA
7 #ifndef ModelGeomAlgo_Shape_H
8 #define ModelGeomAlgo_Shape_H
10 #include "ModelGeomAlgo.h"
11 #include "GeomAPI_Shape.h"
15 class ModelAPI_Feature;
16 class ModelAPI_Result;
18 namespace ModelGeomAlgo_Shape {
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);