- SketchSolver_Group* myGroup; ///< the group which contains current constraint
- ConstraintPtr myBaseConstraint; ///< SketchPlugin constraint
- std::vector<Slvs_hConstraint> mySlvsConstraints; ///< list of indices of SolveSpace constraints, together which equivalent to SketchPlugin constraint
- std::map<FeaturePtr, Slvs_hEntity> myFeatureMap; ///< map feature to the entity it represents
- std::map<AttributePtr, Slvs_hEntity> myAttributeMap; ///< map attribute to the corresponding entity
- std::map<AttributePtr, Slvs_hParam> myValueMap; ///< list of attributes, which represents single value (e.g. distance) used in constraint
- StoragePtr myStorage; ///< storage, which contains all information about entities and constraints in current group
-
- std::string myErrorMsg; ///< error message
-};
-
-typedef std::shared_ptr<SketchSolver_Constraint> SolverConstraintPtr;
-
-
-
-/** \class SketchSolver_ConstraintParallel
- * \ingroup Plugins
- * \brief Convert Parallel constraint to SolveSpace structure
- */
-class SketchSolver_ConstraintParallel : public SketchSolver_Constraint
-{
-public:
- SketchSolver_ConstraintParallel(ConstraintPtr theConstraint) :
- SketchSolver_Constraint(theConstraint)
- {}
-
- virtual int getType() const
- { return SLVS_C_PARALLEL; }
-};
-
-
-/** \class SketchSolver_ConstraintPerpendicular
- * \ingroup Plugins
- * \brief Convert Perpendicular constraint to SolveSpace structure
- */
-class SketchSolver_ConstraintPerpendicular : public SketchSolver_Constraint
-{
-public:
- SketchSolver_ConstraintPerpendicular(ConstraintPtr theConstraint) :
- SketchSolver_Constraint(theConstraint)
- {}
+ GroupID myGroupID; ///< identifier of the group, the constraint belongs to
+ EntityID mySketchID; ///< identifier of the sketch, the constraint belongs to
+ ConstraintPtr myBaseConstraint; ///< base SketchPlugin constraint