X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_CompoundBuilder.h;h=36caf87794da032c67ffc031e8565bc367081ac1;hb=268de14fe8b857dd33fafb349386be6e3fb4caf5;hp=5e863f34c92b1a1646ae70df2fc09c0292bfac93;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h index 5e863f34c..36caf8779 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h @@ -27,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