1 // File: SketchPlugin_ConstraintPointsCoincident.cpp
2 // Created: 08 May 2014
3 // Author: Artem ZHIDKOV
5 #include "SketchPlugin_ConstraintPointsCoincident.h"
7 #include <ModelAPI_AttributeDouble.h>
8 #include <ModelAPI_Data.h>
9 #include <SketchPlugin_Point.h>
11 SketchPlugin_ConstraintPointsCoincident::SketchPlugin_ConstraintPointsCoincident()
15 void SketchPlugin_ConstraintPointsCoincident::initAttributes()
17 data()->addAttribute(CONSTRAINT_ATTR_POINT_A, ModelAPI_AttributeRefAttr::type());
18 data()->addAttribute(CONSTRAINT_ATTR_POINT_B, ModelAPI_AttributeRefAttr::type());
21 void SketchPlugin_ConstraintPointsCoincident::execute()
25 const boost::shared_ptr<GeomAPI_Shape>& SketchPlugin_ConstraintPointsCoincident::preview()
27 /// \todo Preview for point coincidence