Open CASCADE Technology  6.9.1
Public Member Functions | Protected Member Functions | Protected Attributes
FairCurve_DistributionOfEnergy Class Reference

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

#include <FairCurve_DistributionOfEnergy.hxx>

Inheritance diagram for FairCurve_DistributionOfEnergy:
Inheritance graph

Public Member Functions

virtual Standard_Integer NbVariables () const
 returns the number of variables of the function. More...
virtual Standard_Integer NbEquations () const
 returns the number of equations of the function. More...
void SetDerivativeOrder (const Standard_Integer DerivativeOrder)
- Public Member Functions inherited from math_FunctionSet
virtual Standard_Boolean 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. More...
virtual Standard_Integer 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. More...
virtual ~math_FunctionSet ()

Protected Member Functions

 FairCurve_DistributionOfEnergy (const Standard_Integer BSplOrder, const Handle< TColStd_HArray1OfReal > &FlatKnots, const Handle< TColgp_HArray1OfPnt2d > &Poles, const Standard_Integer DerivativeOrder, const Standard_Integer NbValAux=0)

Protected Attributes

Standard_Integer MyBSplOrder
Handle< TColStd_HArray1OfRealMyFlatKnots
Handle< TColgp_HArray1OfPnt2dMyPoles
Standard_Integer MyDerivativeOrder
Standard_Integer MyNbVar
Standard_Integer MyNbEqua
Standard_Integer MyNbValAux

Detailed Description

Abstract class to use the Energy of an FairCurve.

Constructor & Destructor Documentation

FairCurve_DistributionOfEnergy::FairCurve_DistributionOfEnergy ( const Standard_Integer  BSplOrder,
const Handle< TColStd_HArray1OfReal > &  FlatKnots,
const Handle< TColgp_HArray1OfPnt2d > &  Poles,
const Standard_Integer  DerivativeOrder,
const Standard_Integer  NbValAux = 0 

Member Function Documentation

virtual Standard_Integer FairCurve_DistributionOfEnergy::NbEquations ( ) const

returns the number of equations of the function.

Implements math_FunctionSet.

virtual Standard_Integer FairCurve_DistributionOfEnergy::NbVariables ( ) const

returns the number of variables of the function.

Implements math_FunctionSet.

void FairCurve_DistributionOfEnergy::SetDerivativeOrder ( const Standard_Integer  DerivativeOrder)

Field Documentation

Standard_Integer FairCurve_DistributionOfEnergy::MyBSplOrder
Standard_Integer FairCurve_DistributionOfEnergy::MyDerivativeOrder
Handle< TColStd_HArray1OfReal > FairCurve_DistributionOfEnergy::MyFlatKnots
Standard_Integer FairCurve_DistributionOfEnergy::MyNbEqua
Standard_Integer FairCurve_DistributionOfEnergy::MyNbValAux
Standard_Integer FairCurve_DistributionOfEnergy::MyNbVar
Handle< TColgp_HArray1OfPnt2d > FairCurve_DistributionOfEnergy::MyPoles

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