Open CASCADE Technology
6.5.4
|
associates an index and a constraint for an object.
This couple is used by AppDef_TheVariational when performing approximations.
#include <AppParCurves_ConstraintCouple.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | AppParCurves_ConstraintCouple () |
returns an indefinite ConstraintCouple. | |
AppParCurves_ConstraintCouple (const Standard_Integer TheIndex, const AppParCurves_Constraint Cons) | |
Create a couple the object <Index> will have the constraint <Cons>. | |
Standard_Integer | Index () const |
returns the index of the constraint object. | |
AppParCurves_Constraint | Constraint () const |
returns the constraint of the object. | |
void | SetIndex (const Standard_Integer TheIndex) |
Changes the index of the constraint object. | |
void | SetConstraint (const AppParCurves_Constraint Cons) |
Changes the constraint of the object. |
AppParCurves_ConstraintCouple::AppParCurves_ConstraintCouple | ( | const Standard_Integer | TheIndex, |
const AppParCurves_Constraint | Cons | ||
) |