Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
ChFi3d_SearchSing Class Reference

F(t) = (C1(t) - C2(t)).(C1'(t) - C2'(t));
More...

#include <ChFi3d_SearchSing.hxx>

Inheritance diagram for ChFi3d_SearchSing:
Inheritance graph
[legend]

Public Member Functions

 ChFi3d_SearchSing (const Handle< Geom_Curve > &C1, const Handle< Geom_Curve > &C2)
 
Standard_Boolean Value (const Standard_Real X, Standard_Real &F)
 computes the value of the function <F> for the
variable <X>.
returns True if the computation was done successfully,
False otherwise.
More...
 
Standard_Boolean Derivative (const Standard_Real X, Standard_Real &D)
 computes the derivative <D> of the function
for the variable <X>.
Returns True if the calculation were successfully done,
False otherwise.
More...
 
Standard_Boolean Values (const Standard_Real X, Standard_Real &F, Standard_Real &D)
 computes the value <F> and the derivative <D> of the
function for the variable <X>.
Returns True if the calculation were successfully done,
False otherwise.
More...
 
- Public Member Functions inherited from math_FunctionWithDerivative
virtual void Delete ()
 
virtual ~math_FunctionWithDerivative ()
 
- Public Member Functions inherited from math_Function
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

F(t) = (C1(t) - C2(t)).(C1'(t) - C2'(t));

Constructor & Destructor Documentation

ChFi3d_SearchSing::ChFi3d_SearchSing ( const Handle< Geom_Curve > &  C1,
const Handle< Geom_Curve > &  C2 
)

Member Function Documentation

Standard_Boolean ChFi3d_SearchSing::Derivative ( const Standard_Real  X,
Standard_Real D 
)
virtual

computes the derivative <D> of the function
for the variable <X>.
Returns True if the calculation were successfully done,
False otherwise.

Implements math_FunctionWithDerivative.

Standard_Boolean ChFi3d_SearchSing::Value ( const Standard_Real  X,
Standard_Real F 
)
virtual

computes the value of the function <F> for the
variable <X>.
returns True if the computation was done successfully,
False otherwise.

Implements math_FunctionWithDerivative.

Standard_Boolean ChFi3d_SearchSing::Values ( const Standard_Real  X,
Standard_Real F,
Standard_Real D 
)
virtual

computes the value <F> and the derivative <D> of the
function for the variable <X>.
Returns True if the calculation were successfully done,
False otherwise.

Implements math_FunctionWithDerivative.


The documentation for this class was generated from the following file: