Wrapper providing operations with SolveSpace entities.
More...
#include <SolveSpaceSolver_EntityWrapper.h>
|
|
| SolveSpaceSolver_EntityWrapper (const FeaturePtr theFeature, const Slvs_Entity &theEntity) |
| |
|
| SolveSpaceSolver_EntityWrapper (const AttributePtr theAttribute, const Slvs_Entity &theEntity) |
| |
| | SolveSpaceSolver_EntityWrapper (const FeaturePtr thePointFeature, const AttributePtr thePointAttribute, const Slvs_Entity &theEntity) |
| | Constructor useful for SketchPlugin_Point only. More...
|
| |
| const Slvs_Entity & | entity () const |
| | Return SolveSpace entity. More...
|
| |
| Slvs_Entity & | changeEntity () |
| | Return SolveSpace entity to change. More...
|
| |
| virtual EntityID | id () const |
| | Return ID of current entity. More...
|
| |
| virtual void | setGroup (const GroupID &theGroup) |
| | Change group for the entity. More...
|
| |
| virtual GroupID | group () const |
| | Return identifier of the group the entity belongs to. More...
|
| |
| virtual SketchSolver_EntityType | type () const |
| | Return type of current entity. More...
|
| |
| virtual bool | isUsed (FeaturePtr theFeature) const |
| | Verify the feature is used in the entity. More...
|
| |
| virtual bool | isUsed (AttributePtr theAttribute) const |
| | Verify the attribute is used in the entity. More...
|
| |
| virtual bool | isEqual (const EntityWrapperPtr &theOther) |
| | Compare current entity with other. More...
|
| |
| virtual bool | update (const std::shared_ptr< SketchSolver_IEntityWrapper > &theOther) |
| | Update values of parameters of this entity by the parameters of given one. More...
|
| |
Wrapper providing operations with SolveSpace entities.
◆ SolveSpaceSolver_EntityWrapper()
| SolveSpaceSolver_EntityWrapper::SolveSpaceSolver_EntityWrapper |
( |
const FeaturePtr |
thePointFeature, |
|
|
const AttributePtr |
thePointAttribute, |
|
|
const Slvs_Entity & |
theEntity |
|
) |
| |
◆ entity()
| const Slvs_Entity & SolveSpaceSolver_EntityWrapper::entity |
( |
| ) |
const |
|
inline |
Return SolveSpace entity.
◆ changeEntity()
| Slvs_Entity & SolveSpaceSolver_EntityWrapper::changeEntity |
( |
| ) |
|
|
inline |
Return SolveSpace entity to change.
◆ id()
| EntityID SolveSpaceSolver_EntityWrapper::id |
( |
| ) |
const |
|
virtual |
Return ID of current entity.
◆ setGroup()
| void SolveSpaceSolver_EntityWrapper::setGroup |
( |
const GroupID & |
theGroup | ) |
|
|
virtual |
Change group for the entity.
◆ group()
| virtual GroupID SolveSpaceSolver_EntityWrapper::group |
( |
| ) |
const |
|
inlinevirtual |
Return identifier of the group the entity belongs to.
◆ type()
| SketchSolver_EntityType SolveSpaceSolver_EntityWrapper::type |
( |
| ) |
const |
|
virtual |
Return type of current entity.
◆ isUsed() [1/2]
| bool SolveSpaceSolver_EntityWrapper::isUsed |
( |
FeaturePtr |
theFeature | ) |
const |
|
virtual |
Verify the feature is used in the entity.
◆ isUsed() [2/2]
| bool SolveSpaceSolver_EntityWrapper::isUsed |
( |
AttributePtr |
theAttribute | ) |
const |
|
virtual |
Verify the attribute is used in the entity.
◆ isEqual()
| bool SolveSpaceSolver_EntityWrapper::isEqual |
( |
const EntityWrapperPtr & |
theOther | ) |
|
|
virtual |
Compare current entity with other.
◆ update()
Update values of parameters of this entity by the parameters of given one.
- Returns
true if some parameters change their values