OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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.
     AppParCurves_ConstraintCouple (const int TheIndex, const AppParCurves_Constraint Cons)
     Create a couple the object <Index> will have the constraint <Cons>.
    int Index () const
     returns the index of the constraint object.
    AppParCurves_Constraint Constraint () const
     returns the constraint of the object.
    void SetIndex (const int TheIndex)
     Changes the index of the constraint object.
    void SetConstraint (const AppParCurves_Constraint Cons)
     Changes the constraint of the object.

    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 int 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()

    int 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 int TheIndex)

    Changes the index of the constraint object.


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