void SketchPlugin_ConstraintCoincidence::initAttributes()
{
- data()->addAttribute(CONSTRAINT_ATTR_ENTITY_A, ModelAPI_AttributeRefAttr::type());
- data()->addAttribute(CONSTRAINT_ATTR_ENTITY_B, ModelAPI_AttributeRefAttr::type());
+ data()->addAttribute(SketchPlugin_Constraint::ENTITY_A(), ModelAPI_AttributeRefAttr::type());
+ data()->addAttribute(SketchPlugin_Constraint::ENTITY_B(), ModelAPI_AttributeRefAttr::type());
}
void SketchPlugin_ConstraintCoincidence::execute()
{
}
-const boost::shared_ptr<GeomAPI_Shape>& SketchPlugin_ConstraintCoincidence::preview()
-{
- /// \todo Preview for point coincidence
- return getPreview();
-}
-