void addTemporaryConstraint(const Slvs_hConstraint& theConstraintID);
/// \brief Remove all transient constraints
void removeTemporaryConstraints();
- /// \brief Remove first temporary constraint
+ /// \brief Remove one temporary constraint. Preferable to remove the points under Point-on-Line constraint
/// \return Number of remaining temporary constraints
- int removeFirstTemporaryConstraint();
+ int deleteTemporaryConstraint();
/// \brief Checks the constraint is temporary
bool isTemporary(const Slvs_hConstraint& theConstraintID) const;
+ /// \brief Number of temporary constraints
+ int numberTemporary() const
+ { return (int)myTemporaryConstraints.size(); }
/// \brief Shows the sketch should be resolved
bool isNeedToResolve() const