- virtual int getType() const
- { return myType; }
-
- /// \brief Tries to remove constraint
- /// \return \c false, if current constraint contains another SketchPlugin constraints (like for multiple coincidence)
- virtual bool remove(ConstraintPtr theConstraint = ConstraintPtr());
-
- /// \brief Checks the constraint is used by current object
- virtual bool hasConstraint(ConstraintPtr theConstraint) const;
-
- /// \brief Return list of SketchPlugin constraints attached to this object
- virtual std::list<ConstraintPtr> constraints() const;
-
- /// \brief Verifies the two Coincidence constraints are intersects (have shared point)
- bool isCoincide(std::shared_ptr<SketchSolver_ConstraintCoincidence> theConstraint) const;
-
- /// \brief Append all data of coincidence constaint to the current
- void attach(std::shared_ptr<SketchSolver_ConstraintCoincidence> theConstraint);
-