Open CASCADE Technology  7.1.0.beta
Public Member Functions
IntPatch_CSFunction Class Reference

this function is associated to the intersection between a curve on surface and a surface . More...

#include <IntPatch_CSFunction.hxx>

Inheritance diagram for IntPatch_CSFunction:
Inheritance graph
[legend]

Public Member Functions

 IntPatch_CSFunction (const Handle< Adaptor3d_HSurface > &S1, const Handle< Adaptor2d_HCurve2d > &C, const Handle< Adaptor3d_HSurface > &S2)
 S1 is the surface on which the intersection is searched. C is a curve on the surface S2. More...
 
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 &D)
 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 &D)
 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...
 
const gp_PntPoint () const
 
Standard_Real Root () const
 
const Handle< Adaptor3d_HSurface > & AuxillarSurface () const
 
const Handle< Adaptor2d_HCurve2d > & AuxillarCurve () const
 
- Public Member Functions inherited from 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...
 
virtual ~math_FunctionSet ()
 

Detailed Description

this function is associated to the intersection between a curve on surface and a surface .

Constructor & Destructor Documentation

IntPatch_CSFunction::IntPatch_CSFunction ( const Handle< Adaptor3d_HSurface > &  S1,
const Handle< Adaptor2d_HCurve2d > &  C,
const Handle< Adaptor3d_HSurface > &  S2 
)

S1 is the surface on which the intersection is searched. C is a curve on the surface S2.

Member Function Documentation

const Handle< Adaptor2d_HCurve2d >& IntPatch_CSFunction::AuxillarCurve ( ) const
const Handle< Adaptor3d_HSurface >& IntPatch_CSFunction::AuxillarSurface ( ) const
Standard_Boolean IntPatch_CSFunction::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.

Standard_Integer IntPatch_CSFunction::NbEquations ( ) const
virtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

Standard_Integer IntPatch_CSFunction::NbVariables ( ) const
virtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

const gp_Pnt& IntPatch_CSFunction::Point ( ) const
Standard_Real IntPatch_CSFunction::Root ( ) const
Standard_Boolean IntPatch_CSFunction::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 IntPatch_CSFunction::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: