Open CASCADE Technology  7.7.0.dev
Public Member Functions

FairCurve_DistributionOfTension Class Reference

Compute the Tension Distribution. More...

#include <FairCurve_DistributionOfTension.hxx>

Inheritance diagram for FairCurve_DistributionOfTension:
Inheritance graph
[legend]

Public Member Functions

 FairCurve_DistributionOfTension (const Standard_Integer BSplOrder, const Handle< TColStd_HArray1OfReal > &FlatKnots, const Handle< TColgp_HArray1OfPnt2d > &Poles, const Standard_Integer DerivativeOrder, const Standard_Real LengthSliding, const FairCurve_BattenLaw &Law, const Standard_Integer NbValAux=0, const Standard_Boolean Uniform=Standard_False)
 
void SetLengthSliding (const Standard_Real LengthSliding)
 change the length sliding More...
 
virtual Standard_Boolean Value (const math_Vector &X, math_Vector &F) override
 computes the values <F> of the functions for the variable <X>. returns True if the computation was done successfully, False otherwise. More...
 
- Public Member Functions inherited from FairCurve_DistributionOfEnergy
virtual Standard_Integer NbVariables () const override
 returns the number of variables of the function. More...
 
virtual Standard_Integer NbEquations () const override
 returns the number of equations of the function. More...
 
void SetDerivativeOrder (const Standard_Integer DerivativeOrder)
 
- Public Member Functions inherited from math_FunctionSet
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from 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)
 
- Protected Attributes inherited from FairCurve_DistributionOfEnergy
Standard_Integer MyBSplOrder
 
Handle< TColStd_HArray1OfReal > MyFlatKnots
 
Handle< TColgp_HArray1OfPnt2d > MyPoles
 
Standard_Integer MyDerivativeOrder
 
Standard_Integer MyNbVar
 
Standard_Integer MyNbEqua
 
Standard_Integer MyNbValAux
 

Detailed Description

Compute the Tension Distribution.

Constructor & Destructor Documentation

◆ FairCurve_DistributionOfTension()

FairCurve_DistributionOfTension::FairCurve_DistributionOfTension ( const Standard_Integer  BSplOrder,
const Handle< TColStd_HArray1OfReal > &  FlatKnots,
const Handle< TColgp_HArray1OfPnt2d > &  Poles,
const Standard_Integer  DerivativeOrder,
const Standard_Real  LengthSliding,
const FairCurve_BattenLaw Law,
const Standard_Integer  NbValAux = 0,
const Standard_Boolean  Uniform = Standard_False 
)

Member Function Documentation

◆ SetLengthSliding()

void FairCurve_DistributionOfTension::SetLengthSliding ( const Standard_Real  LengthSliding)

change the length sliding

◆ Value()

virtual Standard_Boolean FairCurve_DistributionOfTension::Value ( const math_Vector X,
math_Vector F 
)
overridevirtual

computes the values <F> of the functions for the variable <X>. returns True if the computation was done successfully, False otherwise.

Implements math_FunctionSet.


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