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

#include <Geom2dGcc_FuncTCuCuOfMyL2d2Tan.hxx>

Inheritance diagram for Geom2dGcc_FuncTCuCuOfMyL2d2Tan:
Inheritance graph
[legend]

Public Member Functions

 Geom2dGcc_FuncTCuCuOfMyL2d2Tan (const Geom2dAdaptor_Curve &Curv1, const Geom2dAdaptor_Curve &Curv2)
 
 Geom2dGcc_FuncTCuCuOfMyL2d2Tan (const gp_Circ2d &Circ1, const Geom2dAdaptor_Curve &Curv2)
 
void InitDerivative (const math_Vector &X, gp_Pnt2d &Point1, gp_Pnt2d &Point2, gp_Vec2d &Tan1, gp_Vec2d &Tan2, gp_Vec2d &D21, gp_Vec2d &D22)
 
Standard_Integer NbVariables () const
 Returns the number of variables of the function.
More...
 
Standard_Integer NbEquations () const
 Returns the number of equations of the function.
More...
 
Standard_Boolean Value (const math_Vector &X, math_Vector &F)
 Computes the values <F> of the Functions for the
variable <X>.
Returns True if the computation was done successfully,
False otherwise.
More...
 
Standard_Boolean Derivatives (const math_Vector &X, math_Matrix &Deriv)
 Returns the values <D> of the derivatives for the
variable <X>.
Returns True if the computation was done successfully,
False otherwise.
More...
 
Standard_Boolean Values (const math_Vector &X, math_Vector &F, math_Matrix &Deriv)
 returns the values <F> of the functions and the derivatives
<D> for the variable <X>.
Returns True if the computation was done successfully,
False otherwise.
More...
 
- Public Member Functions inherited from math_FunctionSet
virtual void Delete ()
 
virtual ~math_FunctionSet ()
 
virtual Standard_Integer GetStateNumber ()
 Returns the state of the function corresponding to the
latestcall of any methods associated with the function.
This function is called by each of the algorithms
described later which define 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...
 

Constructor & Destructor Documentation

Geom2dGcc_FuncTCuCuOfMyL2d2Tan::Geom2dGcc_FuncTCuCuOfMyL2d2Tan ( const Geom2dAdaptor_Curve Curv1,
const Geom2dAdaptor_Curve Curv2 
)
Geom2dGcc_FuncTCuCuOfMyL2d2Tan::Geom2dGcc_FuncTCuCuOfMyL2d2Tan ( const gp_Circ2d Circ1,
const Geom2dAdaptor_Curve Curv2 
)

Member Function Documentation

Standard_Boolean Geom2dGcc_FuncTCuCuOfMyL2d2Tan::Derivatives ( const math_Vector X,
math_Matrix D 
)
virtual

Returns the values <D> of the derivatives for the
variable <X>.
Returns True if the computation was done successfully,
False otherwise.

Implements math_FunctionSetWithDerivatives.

void Geom2dGcc_FuncTCuCuOfMyL2d2Tan::InitDerivative ( const math_Vector X,
gp_Pnt2d Point1,
gp_Pnt2d Point2,
gp_Vec2d Tan1,
gp_Vec2d Tan2,
gp_Vec2d D21,
gp_Vec2d D22 
)
Standard_Integer Geom2dGcc_FuncTCuCuOfMyL2d2Tan::NbEquations ( ) const
virtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

Standard_Integer Geom2dGcc_FuncTCuCuOfMyL2d2Tan::NbVariables ( ) const
virtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

Standard_Boolean Geom2dGcc_FuncTCuCuOfMyL2d2Tan::Value ( const math_Vector X,
math_Vector F 
)
virtual

Computes the values <F> of the Functions for the
variable <X>.
Returns True if the computation was done successfully,
False otherwise.

Implements math_FunctionSetWithDerivatives.

Standard_Boolean Geom2dGcc_FuncTCuCuOfMyL2d2Tan::Values ( const math_Vector X,
math_Vector F,
math_Matrix D 
)
virtual

returns the values <F> of the functions and the derivatives
<D> for the variable <X>.
Returns True if the computation was done successfully,
False otherwise.

Implements math_FunctionSetWithDerivatives.


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