SHAPER  9.12.0
PlaneGCSSolver_EdgeWrapper Class Reference

Wrapper providing operations with PlaneGCS entities (lines, circles and arcs). More...

Inheritance diagram for PlaneGCSSolver_EdgeWrapper:
Inheritance graph

Public Member Functions

 PlaneGCSSolver_EdgeWrapper (const GCSCurvePtr theEntity)
 
const GCSCurvePtr & entity () const
 Return PlaneGCS geometric entity. More...
 
GCSCurvePtr & changeEntity ()
 Return PlaneGCS geometric entity to change. More...
 
virtual SketchSolver_EntityType type () const
 Return type of current entity. More...
 
bool isDegenerated () const
 
void setReversed (BooleanWrapperPtr theReversed)
 
bool isReversed () const
 
void setExternal (bool theExternal)
 Change flag indicating the entity cannot be changed in the solver. More...
 
bool isExternal () const
 Return the External flag. More...
 
void setAdditionalAttributes (const std::map< std::string, EntityWrapperPtr > &theAttribues)
 Store names of attributes and their values if necessary. More...
 
const std::map< std::string, EntityWrapperPtr > & additionalAttributes () const
 Return the list of additional attributes. More...
 

Protected Member Functions

virtual bool update (std::shared_ptr< ModelAPI_Attribute > theAttribute)
 Update entity by the values of theAttribute. More...
 

Detailed Description

Wrapper providing operations with PlaneGCS entities (lines, circles and arcs).

Member Function Documentation

◆ entity()

const GCSCurvePtr& PlaneGCSSolver_EdgeWrapper::entity ( ) const
inline

Return PlaneGCS geometric entity.

◆ changeEntity()

GCSCurvePtr& PlaneGCSSolver_EdgeWrapper::changeEntity ( )
inline

Return PlaneGCS geometric entity to change.

◆ type()

virtual SketchSolver_EntityType PlaneGCSSolver_EdgeWrapper::type ( ) const
inlinevirtual

Return type of current entity.

Implements PlaneGCSSolver_EntityWrapper.

◆ setExternal()

void PlaneGCSSolver_EntityWrapper::setExternal ( bool  theExternal)
inlineinherited

Change flag indicating the entity cannot be changed in the solver.

◆ isExternal()

bool PlaneGCSSolver_EntityWrapper::isExternal ( ) const
inlineinherited

Return the External flag.

◆ setAdditionalAttributes()

void PlaneGCSSolver_EntityWrapper::setAdditionalAttributes ( const std::map< std::string, EntityWrapperPtr > &  theAttribues)
inlineinherited

Store names of attributes and their values if necessary.

◆ additionalAttributes()

const std::map<std::string, EntityWrapperPtr>& PlaneGCSSolver_EntityWrapper::additionalAttributes ( ) const
inlineinherited

Return the list of additional attributes.

◆ update()

virtual bool PlaneGCSSolver_EntityWrapper::update ( std::shared_ptr< ModelAPI_Attribute theAttribute)
inlineprotectedvirtualinherited

Update entity by the values of theAttribute.

Returns
true if any value of attribute is not equal to the stored in the entity

Reimplemented in PlaneGCSSolver_ScalarWrapper, PlaneGCSSolver_ScalarArrayWrapper, PlaneGCSSolver_PointWrapper, PlaneGCSSolver_PointArrayWrapper, and PlaneGCSSolver_BooleanWrapper.