Converts SketchPlugin_Feature to the entity applicable for PlaneGCS solver.
More...
|
|
| PlaneGCSSolver_FeatureBuilder (PlaneGCSSolver_Storage *theStorage=0) |
| |
|
| PlaneGCSSolver_FeatureBuilder (const StoragePtr &theStorage) |
| |
| virtual EntityWrapperPtr | createAttribute (AttributePtr theAttribute) |
| | Converts an attribute to the solver's entity and stores it for further processing. More...
|
| |
| virtual EntityWrapperPtr | createFeature (FeaturePtr theFeature) |
| | Converts SketchPlugin's feature to the solver's entity. More...
|
| |
| virtual bool | updateAttribute (AttributePtr theAttribute, EntityWrapperPtr theEntity) |
| | Update entity by the attribute values. More...
|
| |
Converts SketchPlugin_Feature to the entity applicable for PlaneGCS solver.
◆ createAttribute()
| EntityWrapperPtr PlaneGCSSolver_FeatureBuilder::createAttribute |
( |
AttributePtr |
theAttribute | ) |
|
|
virtual |
Converts an attribute to the solver's entity and stores it for further processing.
Double attributes and 2D points are supported only.
- Parameters
-
| theAttribute | [in] attribute to create |
- Returns
- Created wrapper of the attribute applicable for specific solver
Reimplemented from PlaneGCSSolver_AttributeBuilder.
◆ createFeature()
| EntityWrapperPtr PlaneGCSSolver_FeatureBuilder::createFeature |
( |
FeaturePtr |
theFeature | ) |
|
|
virtual |
Converts SketchPlugin's feature to the solver's entity.
Result if based on the list of already converted attributes.
- Parameters
-
| theFeature | [in] feature to create |
Reimplemented from PlaneGCSSolver_AttributeBuilder.
◆ updateAttribute()
| bool PlaneGCSSolver_AttributeBuilder::updateAttribute |
( |
AttributePtr |
theAttribute, |
|
|
EntityWrapperPtr |
theEntity |
|
) |
| |
|
virtualinherited |
Update entity by the attribute values.
- Returns
true if any value is updated.