X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintCoincidence.h;h=ffc4ce1b9e1f0fb1ef8986ba91c0a38d453913fc;hb=0384b535af5605c8add66b61726912287e28313f;hp=78c580426a95c0db16fc7b301f30e6b2e86e4859;hpb=cd9217d7e87997ec8bc150a6d8c389e742ca0f84;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintCoincidence.h b/src/SketchPlugin/SketchPlugin_ConstraintCoincidence.h index 78c580426..ffc4ce1b9 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintCoincidence.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintCoincidence.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D --> + // File: SketchPlugin_ConstraintCoincidence.h // Created: 08 May 2014 // Author: Artem ZHIDKOV @@ -11,16 +13,16 @@ #include /** \class SketchPlugin_ConstraintCoincidence - * \ingroup DataModel + * \ingroup Plugins * \brief Feature for creation of a new constraint which defines equivalence of two points * - * These constraint has two attributes: + * This constraint has two attributes: * SketchPlugin_Constraint::ENTITY_A() and SketchPlugin_Constraint::ENTITY_B() */ class SketchPlugin_ConstraintCoincidence : public SketchPlugin_ConstraintBase { public: - /// Parallel constraint kind + /// Coincidence constraint kind inline static const std::string& ID() { static const std::string MY_CONSTRAINT_COINCIDENCE_ID("SketchConstraintCoincidence"); @@ -33,6 +35,9 @@ class SketchPlugin_ConstraintCoincidence : public SketchPlugin_ConstraintBase return MY_KIND; } + /// Returns the AIS preview + SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious); + /// \brief Creates a new part document if needed SKETCHPLUGIN_EXPORT virtual void execute();