X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Services.h;h=b02e778e9b9c9d9a8fa02fd6107537f3b134392e;hb=87c14e55cdd112e3b9d76f89fd048862256a96d1;hp=fa500e5de5bfede57dc724de4a8673c8d82d3e55;hpb=483750cc09178e5fa392706e5d73820b1fe5ecfb;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Services.h b/src/ModelHighAPI/ModelHighAPI_Services.h index fa500e5de..b02e778e9 100644 --- a/src/ModelHighAPI/ModelHighAPI_Services.h +++ b/src/ModelHighAPI/ModelHighAPI_Services.h @@ -1,3 +1,4 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D // Name : ModelHighAPI_Services.h // Purpose: // @@ -17,6 +18,7 @@ class GeomAPI_Ax3; class GeomAPI_Dir; class GeomAPI_Pnt; class ModelAPI_Document; +class ModelAPI_Result; //-------------------------------------------------------------------------------------- /// Return the main document (the Partset) created or open from the Modeler. MODELHIGHAPI_EXPORT @@ -43,6 +45,13 @@ std::string defaultPlane(const std::shared_ptr& theOrigin, const std::shared_ptr& theNormal, const std::shared_ptr& theDirX); +/** Return one of the three standard results defined in PartSet document. + * + * These planes are respectively referred to by name "XOY" (Z=0), "XOZ" (Y=0) or "YOZ" (X=0). + */ +MODELHIGHAPI_EXPORT +std::shared_ptr standardPlane(const std::string & theName); + /** Start a data structure transaction. * * Make a control point for being able to discard or undo