Open CASCADE Technology
7.7.0
|
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... | |
associates an index and a constraint for an object. This couple is used by AppDef_TheVariational when performing approximations.
AppParCurves_ConstraintCouple::AppParCurves_ConstraintCouple | ( | ) |
returns an indefinite ConstraintCouple.
AppParCurves_ConstraintCouple::AppParCurves_ConstraintCouple | ( | const Standard_Integer | TheIndex, |
const AppParCurves_Constraint | Cons | ||
) |
Create a couple the object <Index> will have the constraint <Cons>.
AppParCurves_Constraint AppParCurves_ConstraintCouple::Constraint | ( | ) | const |
returns the constraint of the object.
Standard_Integer AppParCurves_ConstraintCouple::Index | ( | ) | const |
returns the index of the constraint object.
void AppParCurves_ConstraintCouple::SetConstraint | ( | const AppParCurves_Constraint | Cons | ) |
Changes the constraint of the object.
void AppParCurves_ConstraintCouple::SetIndex | ( | const Standard_Integer | TheIndex | ) |
Changes the index of the constraint object.