Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #19068: Unable to quit Sketch because of conflicting constraint
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_MakeShapeList.h
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h
b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h
index e79826e89f86c2c4eaf2866ea8d422183abc2c66..24cfb2905ff41074cccb1e232cc315a5ef7db850 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
17
CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
20
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// 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 GeomAlgoAPI_MakeShapeList_H_
//
#ifndef GeomAlgoAPI_MakeShapeList_H_
@@
-49,26
+48,29
@@
public:
/// \param[in] theMakeShapeList list of algorithms.
GEOMALGOAPI_EXPORT void init(const ListOfMakeShape& theMakeShapeList);
/// \param[in] theMakeShapeList list of algorithms.
GEOMALGOAPI_EXPORT void init(const ListOfMakeShape& theMakeShapeList);
+ /// \return the list reference
+ GEOMALGOAPI_EXPORT const ListOfMakeShape& list() const;
+
/// \brief Adds algo to the end of list.
/// \param[in] theMakeShape algo to be added.
/// \brief Adds algo to the end of list.
/// \param[in] theMakeShape algo to be added.
- GEOMALGOAPI_EXPORT void appendAlgo(const
std::shared_ptr<GeomAlgoAPI_MakeShape>
theMakeShape);
+ GEOMALGOAPI_EXPORT void appendAlgo(const
GeomMakeShapePtr
theMakeShape);
/// \return a shape built by the shape construction algorithms
/// \return a shape built by the shape construction algorithms
- GEOMALGOAPI_EXPORT virtual const
std::shared_ptr<GeomAPI_Shape>
shape() const;
+ GEOMALGOAPI_EXPORT virtual const
GeomShapePtr
shape() const;
/// \return the list of shapes generated from the shape \a theShape
/// \return the list of shapes generated from the shape \a theShape
- GEOMALGOAPI_EXPORT virtual void generated(const
std::shared_ptr<GeomAPI_Shape>
theShape,
+ GEOMALGOAPI_EXPORT virtual void generated(const
GeomShapePtr
theShape,
ListOfShape& theHistory);
/// \return the list of shapes modified from the shape \a theShape
ListOfShape& theHistory);
/// \return the list of shapes modified from the shape \a theShape
- GEOMALGOAPI_EXPORT virtual void modified(const
std::shared_ptr<GeomAPI_Shape>
theShape,
+ GEOMALGOAPI_EXPORT virtual void modified(const
GeomShapePtr
theShape,
ListOfShape& theHistory);
/// \return whether the shape is deleted
ListOfShape& theHistory);
/// \return whether the shape is deleted
- GEOMALGOAPI_EXPORT virtual bool isDeleted(const
std::shared_ptr<GeomAPI_Shape>
theShape);
+ GEOMALGOAPI_EXPORT virtual bool isDeleted(const
GeomShapePtr
theShape);
private:
private:
- void result(const
std::shared_ptr<GeomAPI_Shape>
theShape,
+ void result(const
GeomShapePtr
theShape,
OperationType theOperationType,
ListOfShape& theHistory);
OperationType theOperationType,
ListOfShape& theHistory);