Open CASCADE Technology
6.5.4
|
Describes an linear evolution law.
#include <Law_Linear.hxx>
Public Member Functions | |
Law_Linear () | |
Constructs an empty linear evolution law. | |
void | Set (const Standard_Real Pdeb, const Standard_Real Valdeb, const Standard_Real Pfin, const Standard_Real Valfin) |
Defines this linear evolution law by assigning both: | |
GeomAbs_Shape | Continuity () const |
Returns GeomAbs_CN | |
Standard_Integer | NbIntervals (const GeomAbs_Shape S) const |
Returns 1 | |
void | Intervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const |
Stores in <T> the parameters bounding the intervals of continuity <S>. The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals() | |
Standard_Real | Value (const Standard_Real X) |
Returns the value of this function at the point of parameter X. | |
void | D1 (const Standard_Real X, Standard_Real &F, Standard_Real &D) |
Returns the value F and the first derivative D of this function at the point of parameter X. | |
void | D2 (const Standard_Real X, Standard_Real &F, Standard_Real &D, Standard_Real &D2) |
Returns the value, first and second derivatives at parameter X. | |
Handle_Law_Function | Trim (const Standard_Real PFirst, const Standard_Real PLast, const Standard_Real Tol) const |
Returns a law equivalent of <me> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. It is usfule to determines the derivatives in these values <First> and <Last> if the Law is not Cn. | |
void | Bounds (Standard_Real &PFirst, Standard_Real &PLast) |
Returns the parametric bounds of the function. |
void Law_Linear::Bounds | ( | Standard_Real & | PFirst, |
Standard_Real & | PLast | ||
) | [virtual] |
Implements Law_Function.
GeomAbs_Shape Law_Linear::Continuity | ( | ) | const [virtual] |
Implements Law_Function.
void Law_Linear::D1 | ( | const Standard_Real | X, |
Standard_Real & | F, | ||
Standard_Real & | D | ||
) | [virtual] |
Implements Law_Function.
void Law_Linear::D2 | ( | const Standard_Real | X, |
Standard_Real & | F, | ||
Standard_Real & | D, | ||
Standard_Real & | D2 | ||
) | [virtual] |
Implements Law_Function.
void Law_Linear::Intervals | ( | TColStd_Array1OfReal & | T, |
const GeomAbs_Shape | S | ||
) | const [virtual] |
Implements Law_Function.
Standard_Integer Law_Linear::NbIntervals | ( | const GeomAbs_Shape | S | ) | const [virtual] |
Implements Law_Function.
void Law_Linear::Set | ( | const Standard_Real | Pdeb, |
const Standard_Real | Valdeb, | ||
const Standard_Real | Pfin, | ||
const Standard_Real | Valfin | ||
) |
Handle_Law_Function Law_Linear::Trim | ( | const Standard_Real | PFirst, |
const Standard_Real | PLast, | ||
const Standard_Real | Tol | ||
) | const [virtual] |
Implements Law_Function.
Standard_Real Law_Linear::Value | ( | const Standard_Real | X | ) | [virtual] |
Implements Law_Function.