Open CASCADE Technology  7.7.0.dev
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 Standard_Real Heigth, const Standard_Real Slope, const Standard_Real 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. More...
 
void SetSliding (const Standard_Real Sliding)
 Change the value of sliding. More...
 
void SetHeigth (const Standard_Real Heigth)
 Change the value of Heigth at the middle point. More...
 
void SetSlope (const Standard_Real Slope)
 Change the value of the geometric slope. More...
 
virtual Standard_Boolean Value (const Standard_Real T, Standard_Real &THeigth) override
 computes the value of the heigth for the parameter T on the neutral fibber More...
 
- Public Member Functions inherited from math_Function
virtual ~math_Function ()
 Virtual destructor, for safe inheritance. More...
 
virtual Standard_Integer 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. More...
 

Detailed Description

This class compute the Heigth of an batten.

Constructor & Destructor Documentation

◆ FairCurve_BattenLaw()

FairCurve_BattenLaw::FairCurve_BattenLaw ( const Standard_Real  Heigth,
const Standard_Real  Slope,
const Standard_Real  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 Standard_Real  Heigth)

Change the value of Heigth at the middle point.

◆ SetSliding()

void FairCurve_BattenLaw::SetSliding ( const Standard_Real  Sliding)

Change the value of sliding.

◆ SetSlope()

void FairCurve_BattenLaw::SetSlope ( const Standard_Real  Slope)

Change the value of the geometric slope.

◆ Value()

virtual Standard_Boolean FairCurve_BattenLaw::Value ( const Standard_Real  T,
Standard_Real 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: