Open CASCADE Technology 6.6.0
|
Loi constante
#include <Law_Constant.hxx>
Public Member Functions | |
Law_Constant () | |
void | Set (const Standard_Real Radius, const Standard_Real PFirst, const Standard_Real PLast) |
Set the radius and the range of the constant Law. | |
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 at parameter X. | |
void | D1 (const Standard_Real X, Standard_Real &F, Standard_Real &D) |
Returns the value and the first derivative at 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. |
Law_Constant::Law_Constant | ( | ) |
void Law_Constant::Bounds | ( | Standard_Real & | PFirst, |
Standard_Real & | PLast | ||
) | [virtual] |
Implements Law_Function.
GeomAbs_Shape Law_Constant::Continuity | ( | ) | const [virtual] |
Implements Law_Function.
void Law_Constant::D1 | ( | const Standard_Real | X, |
Standard_Real & | F, | ||
Standard_Real & | D | ||
) | [virtual] |
Implements Law_Function.
void Law_Constant::D2 | ( | const Standard_Real | X, |
Standard_Real & | F, | ||
Standard_Real & | D, | ||
Standard_Real & | D2 | ||
) | [virtual] |
Implements Law_Function.
void Law_Constant::Intervals | ( | TColStd_Array1OfReal & | T, |
const GeomAbs_Shape | S | ||
) | const [virtual] |
Implements Law_Function.
Standard_Integer Law_Constant::NbIntervals | ( | const GeomAbs_Shape | S | ) | const [virtual] |
Implements Law_Function.
void Law_Constant::Set | ( | const Standard_Real | Radius, |
const Standard_Real | PFirst, | ||
const Standard_Real | PLast | ||
) |
Handle_Law_Function Law_Constant::Trim | ( | const Standard_Real | PFirst, |
const Standard_Real | PLast, | ||
const Standard_Real | Tol | ||
) | const [virtual] |
Implements Law_Function.
Standard_Real Law_Constant::Value | ( | const Standard_Real | X | ) | [virtual] |
Implements Law_Function.