class SketchSolver_ConstraintLength : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintLength(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
/// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
virtual void process();
-private:
- int myType; ///< type of constraint (applicable: SLVS_C_PT_PT_DISTANCE, SLVS_C_PT_LINE_DISTANCE)
+ /// \brief This method is used in derived objects to check consistence of constraint.
+ /// E.g. the distance between line and point may be signed.
+ virtual void adjustConstraint();
};
#endif