Salome HOME
Issue #604 Creation of an unexpected line in the Sketcher
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintMultiRotation.h
index e9d0bd14798726ae9362be3826538cbfd502a263..df01392f5624acb19ad080cc5d740e4c308bd2d3 100644 (file)
 #include "SketchSolver.h"
 #include <SketchSolver_Constraint.h>
 
+#include <vector>
+
+typedef std::vector< std::vector<Slvs_hEntity> > AuxLinesList;
+
 /** \class   SketchSolver_ConstraintMultiRotation
  *  \ingroup Plugins
  *  \brief   Convert rotated features to the list of SolveSpace constraints
@@ -60,6 +64,7 @@ private:
   size_t myNumberOfCopies;  ///< number of previous copies of initial objects
   Slvs_hEntity myRotationCenter; ///< ID of center of rotation
   double myAngle;           ///< angle of rotation
+  AuxLinesList myAuxLines;  ///< list of auxiliary lines, created to make clear rotation
 };
 
 #endif