Salome HOME
Issue #1448 problem with saved study and visualization of distance: activate of the...
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintCoincidence.h
index 78c580426a95c0db16fc7b301f30e6b2e86e4859..ffc4ce1b9e1f0fb1ef8986ba91c0a38d453913fc 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
 // File:    SketchPlugin_ConstraintCoincidence.h
 // Created: 08 May 2014
 // Author:  Artem ZHIDKOV
 #include <list>
 
 /** \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();