Open CASCADE Technology  7.3.0
Public Member Functions
AppParCurves_ConstraintCouple Class Reference

associates an index and a constraint for an object. This couple is used by AppDef_TheVariational when performing approximations. More...

#include <AppParCurves_ConstraintCouple.hxx>

Public Member Functions

 AppParCurves_ConstraintCouple ()
 returns an indefinite ConstraintCouple. More...
 
 AppParCurves_ConstraintCouple (const Standard_Integer TheIndex, const AppParCurves_Constraint Cons)
 Create a couple the object <Index> will have the constraint <Cons>. More...
 
Standard_Integer Index () const
 returns the index of the constraint object. More...
 
AppParCurves_Constraint Constraint () const
 returns the constraint of the object. More...
 
void SetIndex (const Standard_Integer TheIndex)
 Changes the index of the constraint object. More...
 
void SetConstraint (const AppParCurves_Constraint Cons)
 Changes the constraint of the object. More...
 

Detailed Description

associates an index and a constraint for an object. This couple is used by AppDef_TheVariational when performing approximations.

Constructor & Destructor Documentation

◆ AppParCurves_ConstraintCouple() [1/2]

AppParCurves_ConstraintCouple::AppParCurves_ConstraintCouple ( )

returns an indefinite ConstraintCouple.

◆ AppParCurves_ConstraintCouple() [2/2]

AppParCurves_ConstraintCouple::AppParCurves_ConstraintCouple ( const Standard_Integer  TheIndex,
const AppParCurves_Constraint  Cons 
)

Create a couple the object <Index> will have the constraint <Cons>.

Member Function Documentation

◆ Constraint()

AppParCurves_Constraint AppParCurves_ConstraintCouple::Constraint ( ) const

returns the constraint of the object.

◆ Index()

Standard_Integer AppParCurves_ConstraintCouple::Index ( ) const

returns the index of the constraint object.

◆ SetConstraint()

void AppParCurves_ConstraintCouple::SetConstraint ( const AppParCurves_Constraint  Cons)

Changes the constraint of the object.

◆ SetIndex()

void AppParCurves_ConstraintCouple::SetIndex ( const Standard_Integer  TheIndex)

Changes the index of the constraint object.


The documentation for this class was generated from the following file: