OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    FairCurve_DistributionOfEnergy Class Reference

    Abstract class to use the Energy of an FairCurve. More...

    #include <FairCurve_DistributionOfEnergy.hxx>

    Inheritance diagram for FairCurve_DistributionOfEnergy:

    Public Member Functions

    int NbVariables () const override
     returns the number of variables of the function.
    int NbEquations () const override
     returns the number of equations of the function.
    void SetDerivativeOrder (const int DerivativeOrder)
    Public Member Functions inherited from math_FunctionSet
    virtual bool Value (const math_Vector &X, math_Vector &F)=0
     Computes the values <F> of the functions for the variable <X>. returns True if the computation was done successfully, False otherwise.
    virtual int GetStateNumber ()
     Returns the state of the function corresponding to the latestcall of any methods associated with the function. This function is called by each of the algorithms described later which define the function Integer Algorithm::StateNumber(). The algorithm has the responsibility to call this function when it has found a solution (i.e. a root or a minimum) and has to maintain the association between the solution found and this StateNumber. Byu default, this method returns 0 (which means for the algorithm: no state has been saved). It is the responsibility of the programmer to decide if he needs to save the current state of the function and to return an Integer that allows retrieval of the state.
    virtual ~math_FunctionSet ()

    Protected Member Functions

     FairCurve_DistributionOfEnergy (const int BSplOrder, const occ::handle< NCollection_HArray1< double > > &FlatKnots, const occ::handle< NCollection_HArray1< gp_Pnt2d > > &Poles, const int DerivativeOrder, const int NbValAux=0)

    Protected Attributes

    int MyBSplOrder
    occ::handle< NCollection_HArray1< double > > MyFlatKnots
    occ::handle< NCollection_HArray1< gp_Pnt2d > > MyPoles
    int MyDerivativeOrder
    int MyNbVar
    int MyNbEqua
    int MyNbValAux

    Detailed Description

    Abstract class to use the Energy of an FairCurve.

    Constructor & Destructor Documentation

    ◆ FairCurve_DistributionOfEnergy()

    FairCurve_DistributionOfEnergy::FairCurve_DistributionOfEnergy ( const int BSplOrder,
    const occ::handle< NCollection_HArray1< double > > & FlatKnots,
    const occ::handle< NCollection_HArray1< gp_Pnt2d > > & Poles,
    const int DerivativeOrder,
    const int NbValAux = 0 )
    protected

    Member Function Documentation

    ◆ NbEquations()

    int FairCurve_DistributionOfEnergy::NbEquations ( ) const
    overridevirtual

    returns the number of equations of the function.

    Implements math_FunctionSet.

    ◆ NbVariables()

    int FairCurve_DistributionOfEnergy::NbVariables ( ) const
    overridevirtual

    returns the number of variables of the function.

    Implements math_FunctionSet.

    ◆ SetDerivativeOrder()

    void FairCurve_DistributionOfEnergy::SetDerivativeOrder ( const int DerivativeOrder)

    Field Documentation

    ◆ MyBSplOrder

    int FairCurve_DistributionOfEnergy::MyBSplOrder
    protected

    ◆ MyDerivativeOrder

    int FairCurve_DistributionOfEnergy::MyDerivativeOrder
    protected

    ◆ MyFlatKnots

    occ::handle<NCollection_HArray1<double> > FairCurve_DistributionOfEnergy::MyFlatKnots
    protected

    ◆ MyNbEqua

    int FairCurve_DistributionOfEnergy::MyNbEqua
    protected

    ◆ MyNbValAux

    int FairCurve_DistributionOfEnergy::MyNbValAux
    protected

    ◆ MyNbVar

    int FairCurve_DistributionOfEnergy::MyNbVar
    protected

    ◆ MyPoles

    occ::handle<NCollection_HArray1<gp_Pnt2d> > FairCurve_DistributionOfEnergy::MyPoles
    protected

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