SHAPER
9.13.0
|
Convert Agnle constraint to SolveSpace structure. More...
Public Member Functions | |
SketchSolver_ConstraintAngle (ConstraintPtr theConstraint) | |
Constructor based on SketchPlugin constraint. More... | |
virtual void | adjustConstraint () |
This method is used in derived objects to check consistence of constraint. More... | |
void | process (StoragePtr theStorage, bool theEvensBlocked) |
Initializes parameters and start constraint creation. More... | |
virtual void | notify (const FeaturePtr &theFeature, PlaneGCSSolver_Update *theUpdater) |
Notify this object about the feature is changed somewhere. More... | |
virtual void | update () |
Update constraint. More... | |
virtual bool | remove () |
Tries to remove constraint. More... | |
virtual void | blockEvents (bool isBlocked) |
Block or unblock events from this constraint. More... | |
virtual SketchSolver_ConstraintType | getType () const |
Returns the type of constraint. More... | |
const std::string & | error () const |
Shows error message. More... | |
Static Public Member Functions | |
static SketchSolver_ConstraintType | TYPE (ConstraintPtr theConstraint) |
Obtain a type of SketchPlugin constraint. More... | |
Protected Member Functions | |
virtual void | getAttributes (EntityWrapperPtr &theValue, std::vector< EntityWrapperPtr > &theAttributes) |
Generate list of attributes of constraint in order useful for constraints. More... | |
virtual void | process () |
Converts SketchPlugin constraint to a list of solver's constraints. More... | |
void | cleanErrorMsg () |
Removes last error. More... | |
Protected Attributes | |
ConstraintPtr | myBaseConstraint |
base SketchPlugin constraint More... | |
ConstraintWrapperPtr | mySolverConstraint |
wrapper for PlaneGCS constraint More... | |
StoragePtr | myStorage |
storage, which contains all information about entities and constraints More... | |
std::list< EntityWrapperPtr > | myAttributes |
attributes of constraint More... | |
std::string | myErrorMsg |
error message More... | |
Convert Agnle constraint to SolveSpace structure.
|
inline |
Constructor based on SketchPlugin constraint.
|
virtual |
This method is used in derived objects to check consistence of constraint.
Reimplemented from SketchSolver_Constraint.
|
protectedvirtual |
Generate list of attributes of constraint in order useful for constraints.
[out] | theValue | numerical characteristic of constraint (e.g. distance) |
[out] | theAttributes | list of attributes to be filled |
Reimplemented from SketchSolver_Constraint.
|
inherited |
Initializes parameters and start constraint creation.
theStorage | [in] storage where to place new constraint |
theEventsBlocked | [in] all events from this constraint should be blocked |
|
protectedvirtualinherited |
Converts SketchPlugin constraint to a list of solver's constraints.
Reimplemented in SketchSolver_ConstraintTangent, SketchSolver_ConstraintPerpendicular, SketchSolver_ConstraintOffset, SketchSolver_ConstraintMultiTranslation, SketchSolver_ConstraintMultiRotation, SketchSolver_ConstraintMulti, SketchSolver_ConstraintMovement, SketchSolver_ConstraintMirror, SketchSolver_ConstraintFixed, SketchSolver_ConstraintCollinear, and SketchSolver_ConstraintCoincidence.
|
inlinevirtualinherited |
Notify this object about the feature is changed somewhere.
Reimplemented in SketchSolver_ConstraintTangent, SketchSolver_ConstraintPerpendicular, SketchSolver_ConstraintMiddle, SketchSolver_ConstraintCollinear, SketchSolver_ConstraintCoincidence, SketchSolver_ConstraintMulti, SketchSolver_ConstraintMirror, and SketchSolver_ConstraintDistance.
|
virtualinherited |
Update constraint.
Reimplemented in SketchSolver_ConstraintOffset, SketchSolver_ConstraintMulti, SketchSolver_ConstraintMirror, and SketchSolver_ConstraintDistance.
|
virtualinherited |
Tries to remove constraint.
false
, if current constraint contains another SketchPlugin constraints (like for multiple coincidence) Reimplemented in SketchSolver_ConstraintTangent, SketchSolver_ConstraintMulti, SketchSolver_ConstraintMiddle, SketchSolver_ConstraintEqual, SketchSolver_ConstraintDistance, and SketchSolver_ConstraintCoincidence.
|
virtualinherited |
Block or unblock events from this constraint.
Reimplemented in SketchSolver_ConstraintMulti, SketchSolver_ConstraintMovement, SketchSolver_ConstraintMirror, and SketchSolver_ConstraintFixed.
|
staticinherited |
Obtain a type of SketchPlugin constraint.
|
inlinevirtualinherited |
Returns the type of constraint.
|
inlineinherited |
Shows error message.
|
inlineprotectedinherited |
Removes last error.
|
protectedinherited |
base SketchPlugin constraint
|
protectedinherited |
wrapper for PlaneGCS constraint
|
protectedinherited |
storage, which contains all information about entities and constraints
|
protectedinherited |
attributes of constraint
|
protectedinherited |
error message