class SketchSolver_ConstraintCoincidence : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintCoincidence(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
myType(SLVS_C_UNKNOWN)
/// \brief Create full SolveSpace structure according to given constraint
void addConstraint(ConstraintPtr theConstraint);
+ /// \brief Create constraint of point concident to the line or circle
+ Slvs_hConstraint addPointOnEntity(Slvs_hEntity thePoint, Slvs_hEntity theEntity);
+
private:
int myType; ///< type of constraint (applicable SLVS_C_POINTS_COINCIDENT or SLVS_C_PT_ON_LINE or SLVS_C_PT_ON_CIRCLE)
std::map<ConstraintPtr, Slvs_hConstraint> myExtraCoincidence; ///< multiple coincidence of points