Open CASCADE Technology
6.9.1

this function is associated to the intersection between a curve on surface and a surface . More...
#include <IntPatch_CSFunction.hxx>
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_Pnt &  Point () 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 () 
this function is associated to the intersection between a curve on surface and a surface .
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.
const Handle< Adaptor2d_HCurve2d >& IntPatch_CSFunction::AuxillarCurve  (  )  const 
const Handle< Adaptor3d_HSurface >& IntPatch_CSFunction::AuxillarSurface  (  )  const 

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.

virtual 
Returns the number of equations of the function.
Implements math_FunctionSetWithDerivatives.

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 

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.

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.