X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultConstruction.h;h=b5ea41cd985bb9589aa74b3c07ceae5ef82d6174;hb=5fb6a80c4e86e21b1181b4e6ee940d946b5c52e4;hp=eba4c129cc5b07bf13843a36ca706543c2d0f83e;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultConstruction.h b/src/Model/Model_ResultConstruction.h index eba4c129c..b5ea41cd9 100644 --- a/src/Model/Model_ResultConstruction.h +++ b/src/Model/Model_ResultConstruction.h @@ -14,7 +14,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com // #ifndef Model_ResultConstruction_H_ @@ -63,7 +64,8 @@ class Model_ResultConstruction : public ModelAPI_ResultConstruction MODEL_EXPORT virtual void setIsInHistory(const bool myIsInHistory); /// if the construction result may be used as faces, this method returns not zero number of faces - MODEL_EXPORT virtual int facesNum(); + /// \param theUpdateNaming is false of keeping the naming structure untouched (on load) + MODEL_EXPORT virtual int facesNum(const bool theUpdateNaming = true); /// if the construction result may be used as faces, this method returns face by zero based index MODEL_EXPORT virtual std::shared_ptr face(const int theIndex);