Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
FairCurve_BattenLaw Class Reference

This class compute the Heigth of an batten. More...

#include <FairCurve_BattenLaw.hxx>

Inheritance diagram for FairCurve_BattenLaw:
Inheritance graph
[legend]

Public Member Functions

 FairCurve_BattenLaw (const double Heigth, const double Slope, const double Sliding)
 Constructor of linear batten with Heigth : the Heigth at the middle point Slope : the geometric slope of the batten Sliding : Active Length of the batten without extension.
 
void SetSliding (const double Sliding)
 Change the value of sliding.
 
void SetHeigth (const double Heigth)
 Change the value of Heigth at the middle point.
 
void SetSlope (const double Slope)
 Change the value of the geometric slope.
 
bool Value (const double T, double &THeigth) override
 computes the value of the heigth for the parameter T on the neutral fibber
 
- Public Member Functions inherited from math_Function
virtual ~math_Function ()=default
 Virtual destructor, for safe inheritance.
 
virtual int GetStateNumber ()
 returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined 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.
 

Detailed Description

This class compute the Heigth of an batten.

Constructor & Destructor Documentation

◆ FairCurve_BattenLaw()

FairCurve_BattenLaw::FairCurve_BattenLaw ( const double Heigth,
const double Slope,
const double Sliding )

Constructor of linear batten with Heigth : the Heigth at the middle point Slope : the geometric slope of the batten Sliding : Active Length of the batten without extension.

Member Function Documentation

◆ SetHeigth()

void FairCurve_BattenLaw::SetHeigth ( const double Heigth)

Change the value of Heigth at the middle point.

◆ SetSliding()

void FairCurve_BattenLaw::SetSliding ( const double Sliding)

Change the value of sliding.

◆ SetSlope()

void FairCurve_BattenLaw::SetSlope ( const double Slope)

Change the value of the geometric slope.

◆ Value()

bool FairCurve_BattenLaw::Value ( const double T,
double & THeigth )
overridevirtual

computes the value of the heigth for the parameter T on the neutral fibber

Implements math_Function.


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