SHAPER  9.12.0
PlaneGCSSolver_ConstraintWrapper Class Reference

Wrapper providing operations with PlaneGCS constraints. More...

Public Member Functions

 PlaneGCSSolver_ConstraintWrapper (const GCSConstraintPtr &theConstraint, const SketchSolver_ConstraintType &theType)
 
 PlaneGCSSolver_ConstraintWrapper (const std::list< GCSConstraintPtr > &theConstraints, const SketchSolver_ConstraintType &theType)
 
const std::list< GCSConstraintPtr > & constraints () const
 Return list of constraints. More...
 
void setConstraints (const std::list< GCSConstraintPtr > &theConstraints)
 Change list of constraints. More...
 
const ConstraintID & id () const
 Return ID of current constraint. More...
 
virtual void setId (const ConstraintID &theID)
 Change constraint ID. More...
 
virtual SketchSolver_ConstraintType type () const
 Return type of current entity. More...
 
virtual void setValue (const double &theValue)
 Assign numeric parameter of constraint. More...
 
virtual double value () const
 Return numeric parameter of constraint. More...
 
void setValueParameter (const ScalarWrapperPtr &theValue)
 Change parameter representing the value of constraint. More...
 
const ScalarWrapperPtr & valueParameter () const
 Return parametric representation of constraint value. More...
 

Detailed Description

Wrapper providing operations with PlaneGCS constraints.

Member Function Documentation

◆ constraints()

const std::list<GCSConstraintPtr>& PlaneGCSSolver_ConstraintWrapper::constraints ( ) const
inline

Return list of constraints.

◆ setConstraints()

void PlaneGCSSolver_ConstraintWrapper::setConstraints ( const std::list< GCSConstraintPtr > &  theConstraints)
inline

Change list of constraints.

◆ id()

const ConstraintID& PlaneGCSSolver_ConstraintWrapper::id ( ) const
inline

Return ID of current constraint.

◆ setId()

void PlaneGCSSolver_ConstraintWrapper::setId ( const ConstraintID &  theID)
virtual

Change constraint ID.

◆ type()

virtual SketchSolver_ConstraintType PlaneGCSSolver_ConstraintWrapper::type ( ) const
inlinevirtual

Return type of current entity.

◆ setValue()

void PlaneGCSSolver_ConstraintWrapper::setValue ( const double &  theValue)
virtual

Assign numeric parameter of constraint.

◆ value()

double PlaneGCSSolver_ConstraintWrapper::value ( ) const
virtual

Return numeric parameter of constraint.

◆ setValueParameter()

void PlaneGCSSolver_ConstraintWrapper::setValueParameter ( const ScalarWrapperPtr &  theValue)

Change parameter representing the value of constraint.

◆ valueParameter()

const ScalarWrapperPtr& PlaneGCSSolver_ConstraintWrapper::valueParameter ( ) const
inline

Return parametric representation of constraint value.