X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintBase.h;h=7299aabe0fe3e19d216c3b05a5fe2c2363fe24d8;hb=50c050906e6b5926727fcbadcbf4247326ef60be;hp=e08bf7682be26adcfe323dddce57640cabcab29e;hpb=a85c123c5bc7c48588a5cd648110d66ae1544f8c;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintBase.h b/src/SketchPlugin/SketchPlugin_ConstraintBase.h index e08bf7682..7299aabe0 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintBase.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintBase.h @@ -15,7 +15,6 @@ #include - /* Description: * Each constraint uses a set of parameters. In the SolveSpace library * these parameters are named "valA", "ptA", "ptB", "entityA", "entityB". @@ -35,10 +34,9 @@ * Some feature's methods implemented here as dummy to * Base class for all constraints. */ -class SketchPlugin_ConstraintBase: public SketchPlugin_Constraint, - public GeomAPI_IPresentable +class SketchPlugin_ConstraintBase : public SketchPlugin_Constraint, public GeomAPI_IPresentable { -public: + public: /// Returns the AIS preview SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious); @@ -53,11 +51,13 @@ public: /// Return the distance between the feature and the point /// \param thePoint the point - virtual double distanceToPoint(const boost::shared_ptr& thePoint); + virtual double distanceToPoint(const std::shared_ptr& thePoint); -protected: + protected: /// \brief Use plugin manager for features creation - SketchPlugin_ConstraintBase() {} + SketchPlugin_ConstraintBase() + { + } }; #endif