X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_CompoundBuilder.h;h=594729ad9c45b15f79361acc851fde2f6009e100;hb=5b6031b015602aa07f5a6fc668c13ac3faf7a8a9;hp=dac10ee8cdc7d156550d71b0afe8223f25c958e2;hpb=35a88fdd724349275bbff32b9596a44e7cd422e2;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h index dac10ee8c..594729ad9 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAlgoAPI_CompoundBuilder.h // Created: 24 Apr 2014 // Author: Natalia ERMOLAEVA @@ -25,6 +27,12 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_CompoundBuilder /// \param theShapes a list of shapes static std::shared_ptr compound( std::list > theShapes); + + /// Produces the integerr identifier of the shape theSub in theContext (needed for + /// groups export to old GEOM) + /// \returns zero if theSub not found in theContext + static int id( + std::shared_ptr theContext, std::shared_ptr theSub); }; #endif