Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor2d_Curve2d > &C, const occ::handle< Adaptor3d_Surface > &S2)
 S1 is the surface on which the intersection is searched. C is a curve on the surface S2.
 
int NbVariables () const override
 Returns the number of variables of the function.
 
int NbEquations () const override
 Returns the number of equations of the function.
 
bool Value (const math_Vector &X, math_Vector &F) override
 Computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.
 
bool Derivatives (const math_Vector &X, math_Matrix &D) override
 Returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.
 
bool Values (const math_Vector &X, math_Vector &F, math_Matrix &D) override
 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.
 
const gp_PntPoint () const
 
double Root () const
 
const occ::handle< Adaptor3d_Surface > & AuxillarSurface () const
 
const occ::handle< Adaptor2d_Curve2d > & AuxillarCurve () const
 
- Public Member Functions inherited from math_FunctionSet
virtual int 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.
 
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::IntPatch_CSFunction ( const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor2d_Curve2d > & C,
const occ::handle< Adaptor3d_Surface > & S2 )

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

Member Function Documentation

◆ AuxillarCurve()

const occ::handle< Adaptor2d_Curve2d > & IntPatch_CSFunction::AuxillarCurve ( ) const

◆ AuxillarSurface()

const occ::handle< Adaptor3d_Surface > & IntPatch_CSFunction::AuxillarSurface ( ) const

◆ Derivatives()

bool IntPatch_CSFunction::Derivatives ( const math_Vector & X,
math_Matrix & D )
overridevirtual

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

Implements math_FunctionSetWithDerivatives.

◆ NbEquations()

int IntPatch_CSFunction::NbEquations ( ) const
overridevirtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbVariables()

int IntPatch_CSFunction::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ Point()

const gp_Pnt & IntPatch_CSFunction::Point ( ) const

◆ Root()

double IntPatch_CSFunction::Root ( ) const

◆ Value()

bool IntPatch_CSFunction::Value ( const math_Vector & X,
math_Vector & F )
overridevirtual

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

Implements math_FunctionSetWithDerivatives.

◆ Values()

bool IntPatch_CSFunction::Values ( const math_Vector & X,
math_Vector & F,
math_Matrix & D )
overridevirtual

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: