class SketchSolver_ConstraintMirror : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintMirror(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
- myNumberOfObjects(0)
+ myNumberOfObjects(0),
+ myMirrorLineLength(0.0)
{}
virtual int getType() const
void adjustArcPoints(const Slvs_Entity& theArc) const;
private:
- size_t myNumberOfObjects; ///< number of previously mirrored objects
+ size_t myNumberOfObjects; ///< number of previously mirrored objects
+ double myMirrorLineLength; ///< length of mirror line (should be always greater than 0)
};
#endif