-// Copyright (C) 2014-2017 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef BuildPlugin_Filling_H_
BUILDPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
private:
- /// Check the filling algorithm is failed
- bool isFailed(const std::shared_ptr<GeomAlgoAPI_MakeShape>& theAlgorithm);
-
/// Convert shape to edge according to construction method
std::shared_ptr<GeomAPI_Edge> toEdge(const std::shared_ptr<GeomAPI_Shape>& theShape,
const std::string& theMethod);
void restoreDefaultParameters();
private:
- std::shared_ptr<GeomAPI_Pnt> myLastEdgeStartPoint;
- std::shared_ptr<GeomAPI_Pnt> myLastEdgeEndPoint;
+ std::shared_ptr<GeomAPI_Edge> myLastEdge;
};
#endif