#include "SketchPlugin_ConstraintMiddle.h"
+#include "SketcherPrs_Factory.h"
+
SketchPlugin_ConstraintMiddle::SketchPlugin_ConstraintMiddle()
{
}
if (!sketch())
return thePrevious;
- AISObjectPtr anAIS;
- // TODO
- //AISObjectPtr anAIS = SketcherPrs_Factory::collinearConstraint(this, sketch()->coordinatePlane(),
- // thePrevious);
+ AISObjectPtr anAIS = SketcherPrs_Factory::middleConstraint(this, sketch()->coordinatePlane(),
+ thePrevious);
return anAIS;
}