SHAPER
9.13.0
|
Convert fillet constraint to SolveSpace structure. More...
Public Member Functions | |
SketchSolver_ConstraintMirror (ConstraintPtr theConstraint) | |
Constructor based on SketchPlugin constraint. More... | |
virtual void | update () |
Update constraint. More... | |
virtual void | notify (const FeaturePtr &theFeature, PlaneGCSSolver_Update *) |
Notify this object about the feature is changed somewhere. More... | |
virtual void | blockEvents (bool isBlocked) |
Block or unblock events from this constraint. More... | |
void | process (StoragePtr theStorage, bool theEvensBlocked) |
Initializes parameters and start constraint creation. More... | |
virtual bool | remove () |
Tries to remove 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 | process () |
Converts SketchPlugin constraint to a list of SolveSpace constraints. More... | |
virtual void | getAttributes (EntityWrapperPtr &, std::vector< EntityWrapperPtr > &) |
Generate list of entities of mirror constraint. More... | |
virtual void | adjustConstraint () |
This method is used in derived objects to check consistence of constraint. 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... | |
SketchSolver_ConstraintType | myType |
type of constraint More... | |
std::list< EntityWrapperPtr > | myAttributes |
attributes of constraint More... | |
std::string | myErrorMsg |
error message More... | |
Convert fillet constraint to SolveSpace structure.
|
inline |
Constructor based on SketchPlugin constraint.
|
virtual |
Update constraint.
Reimplemented from SketchSolver_Constraint.
|
virtual |
Notify this object about the feature is changed somewhere.
Reimplemented from SketchSolver_Constraint.
|
virtual |
Block or unblock events from this constraint.
Reimplemented from SketchSolver_Constraint.
|
protectedvirtual |
Converts SketchPlugin constraint to a list of SolveSpace constraints.
Reimplemented from SketchSolver_Constraint.
|
protectedvirtual |
Generate list of entities of mirror constraint.
Reimplemented from SketchSolver_Constraint.
|
protectedvirtual |
This method is used in derived objects to check consistence of constraint.
E.g. the distance between line and point may be signed.
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 |
|
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.
|
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 |
type of constraint
|
protectedinherited |
attributes of constraint
|
protectedinherited |
error message