protected:
/// Default constructor
SketchSolver_Constraint() {}
+ /// Constructor based on SketchPlugin constraint
SketchSolver_Constraint(ConstraintPtr theConstraint);
public:
class SketchSolver_ConstraintParallel : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintParallel(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
class SketchSolver_ConstraintPerpendicular : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintPerpendicular(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
class SketchSolver_ConstraintHorizontal : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintHorizontal(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
class SketchSolver_ConstraintVertical : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintVertical(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
class SketchSolver_ConstraintRadius : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintRadius(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
class SketchSolver_ConstraintAngle : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintAngle(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
myAngle(0.0)
class SketchSolver_ConstraintCoincidence : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintCoincidence(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
myType(SLVS_C_UNKNOWN)
class SketchSolver_ConstraintDistance : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintDistance(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
myType(SLVS_C_UNKNOWN),
class SketchSolver_ConstraintEqual : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintEqual(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
class SketchSolver_ConstraintFillet : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintFillet(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
class SketchSolver_ConstraintLength : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintLength(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
class SketchSolver_ConstraintMirror : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintMirror(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
myNumberOfObjects(0),
class SketchSolver_ConstraintMulti : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintMulti(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
myNumberOfObjects(0),
class SketchSolver_ConstraintMultiRotation : public SketchSolver_ConstraintMulti
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintMultiRotation(ConstraintPtr theConstraint) :
SketchSolver_ConstraintMulti(theConstraint)
{}
class SketchSolver_ConstraintMultiTranslation : public SketchSolver_ConstraintMulti
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintMultiTranslation(ConstraintPtr theConstraint) :
SketchSolver_ConstraintMulti(theConstraint),
myTranslationLine(SLVS_E_UNKNOWN)
class SketchSolver_ConstraintTangent : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintTangent(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint)
{}
*/
void removeConstraint(ConstraintPtr theConstraint);
- /** \brief Remove all temporary constraint after computation finished
- * \param[in] theRemoved indexes of constraints to be removed. If empty, all temporary constraints should be deleted
- */
+ /// \brief Remove all temporary constraint after computation finished
void removeTemporaryConstraints();
private: