Open CASCADE Technology
7.2.0
|
Function to find extrema of the distance between a curve and a surface. More...
#include <Extrema_FuncExtCS.hxx>
Public Member Functions | |
Extrema_FuncExtCS () | |
Extrema_FuncExtCS (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S) | |
void | Initialize (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S) |
sets the field mysurf of the function. More... | |
Standard_Integer | NbVariables () const override |
Returns the number of variables of the function. More... | |
Standard_Integer | NbEquations () const override |
Returns the number of equations of the function. More... | |
Standard_Boolean | Value (const math_Vector &UV, math_Vector &F) override |
Calculation of Fi(U,V). More... | |
Standard_Boolean | Derivatives (const math_Vector &UV, math_Matrix &DF) override |
Calculation of Fi'(U,V). More... | |
Standard_Boolean | Values (const math_Vector &UV, math_Vector &F, math_Matrix &DF) override |
Calculation of Fi(U,V) and Fi'(U,V). More... | |
virtual Standard_Integer | GetStateNumber () override |
Save the found extremum. More... | |
Standard_Integer | NbExt () const |
Return the number of found extrema. More... | |
Standard_Real | SquareDistance (const Standard_Integer N) const |
Return the value of the Nth distance. More... | |
const Extrema_POnCurv & | PointOnCurve (const Standard_Integer N) const |
Returns the Nth extremum on C. More... | |
const Extrema_POnSurf & | PointOnSurface (const Standard_Integer N) const |
Return the Nth extremum on S. More... | |
Public Member Functions inherited from math_FunctionSet | |
virtual | ~math_FunctionSet () |
Function to find extrema of the distance between a curve and a surface.
Extrema_FuncExtCS::Extrema_FuncExtCS | ( | ) |
Extrema_FuncExtCS::Extrema_FuncExtCS | ( | const Adaptor3d_Curve & | C, |
const Adaptor3d_Surface & | S | ||
) |
|
overridevirtual |
Calculation of Fi'(U,V).
Implements math_FunctionSetWithDerivatives.
|
overridevirtual |
Save the found extremum.
Reimplemented from math_FunctionSet.
void Extrema_FuncExtCS::Initialize | ( | const Adaptor3d_Curve & | C, |
const Adaptor3d_Surface & | S | ||
) |
sets the field mysurf of the function.
|
overridevirtual |
Returns the number of equations of the function.
Implements math_FunctionSetWithDerivatives.
Standard_Integer Extrema_FuncExtCS::NbExt | ( | ) | const |
Return the number of found extrema.
|
overridevirtual |
Returns the number of variables of the function.
Implements math_FunctionSetWithDerivatives.
const Extrema_POnCurv& Extrema_FuncExtCS::PointOnCurve | ( | const Standard_Integer | N | ) | const |
Returns the Nth extremum on C.
const Extrema_POnSurf& Extrema_FuncExtCS::PointOnSurface | ( | const Standard_Integer | N | ) | const |
Return the Nth extremum on S.
Standard_Real Extrema_FuncExtCS::SquareDistance | ( | const Standard_Integer | N | ) | const |
Return the value of the Nth distance.
|
overridevirtual |
Calculation of Fi(U,V).
Implements math_FunctionSetWithDerivatives.
|
overridevirtual |
Calculation of Fi(U,V) and Fi'(U,V).
Implements math_FunctionSetWithDerivatives.