Open CASCADE Technology 7.8.0
|
This class compute the Heigth of an batten. More...
#include <FairCurve_BattenLaw.hxx>
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. | |
void | SetSliding (const Standard_Real Sliding) |
Change the value of sliding. | |
void | SetHeigth (const Standard_Real Heigth) |
Change the value of Heigth at the middle point. | |
void | SetSlope (const Standard_Real Slope) |
Change the value of the geometric slope. | |
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 | |
Public Member Functions inherited from math_Function | |
virtual | ~math_Function () |
Virtual destructor, for safe inheritance. | |
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. | |
This class compute the Heigth of an batten.
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.
void FairCurve_BattenLaw::SetHeigth | ( | const Standard_Real | Heigth | ) |
Change the value of Heigth at the middle point.
void FairCurve_BattenLaw::SetSliding | ( | const Standard_Real | Sliding | ) |
Change the value of sliding.
void FairCurve_BattenLaw::SetSlope | ( | const Standard_Real | Slope | ) |
Change the value of the geometric slope.
|
overridevirtual |
computes the value of the heigth for the parameter T on the neutral fibber
Implements math_Function.