#include <SketchSolver_IEntityWrapper.h>
#include <SolveSpaceSolver_Solver.h>
+#include <SketchPlugin_Point.h>
+
/**
* Wrapper providing operations with SolveSpace entities.
*/
SolveSpaceSolver_EntityWrapper(const FeaturePtr theFeature, const Slvs_Entity& theEntity);
SolveSpaceSolver_EntityWrapper(const AttributePtr theAttribute, const Slvs_Entity& theEntity);
+ /// \brief Constructor useful for SketchPlugin_Point only
+ SolveSpaceSolver_EntityWrapper(const std::shared_ptr<SketchPlugin_Point> theFeature,
+ const AttributePtr theAttribute,
+ const Slvs_Entity& theEntity);
+
/// \brief Return SolveSpace entity
const Slvs_Entity& entity() const
{ return myEntity; }
/// \brief Change group for the entity
virtual void setGroup(const GroupID& theGroup);
/// \brief Return identifier of the group the entity belongs to
- virtual const GroupID& group() const
+ virtual GroupID group() const
{ return (GroupID)myEntity.group; }
/// \brief Return type of current entity