Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomFill_FunctionDraft Class Reference

#include <GeomFill_FunctionDraft.hxx>

Inheritance diagram for GeomFill_FunctionDraft:
Inheritance graph
[legend]

Public Member Functions

 GeomFill_FunctionDraft (const occ::handle< Adaptor3d_Surface > &S, const occ::handle< Adaptor3d_Curve > &C)
 
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.
 
bool DerivT (const occ::handle< Adaptor3d_Curve > &C, const double Param, const double W, const gp_Vec &dN, const double teta, math_Vector &F)
 returns the values <F> of the T derivatives for the parameter Param.
 
bool Deriv2T (const occ::handle< Adaptor3d_Curve > &C, const double Param, const double W, const gp_Vec &d2N, const double teta, math_Vector &F)
 returns the values <F> of the T2 derivatives for the parameter Param.
 
bool DerivTX (const gp_Vec &dN, const double teta, math_Matrix &D)
 returns the values <D> of the TX derivatives for the parameter Param.
 
bool Deriv2X (const math_Vector &X, GeomFill_Tensor &T)
 returns the values <T> of the X2 derivatives for the parameter Param.
 
- 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 ()
 

Constructor & Destructor Documentation

◆ GeomFill_FunctionDraft()

GeomFill_FunctionDraft::GeomFill_FunctionDraft ( const occ::handle< Adaptor3d_Surface > & S,
const occ::handle< Adaptor3d_Curve > & C )

Member Function Documentation

◆ Deriv2T()

bool GeomFill_FunctionDraft::Deriv2T ( const occ::handle< Adaptor3d_Curve > & C,
const double Param,
const double W,
const gp_Vec & d2N,
const double teta,
math_Vector & F )

returns the values <F> of the T2 derivatives for the parameter Param.

◆ Deriv2X()

bool GeomFill_FunctionDraft::Deriv2X ( const math_Vector & X,
GeomFill_Tensor & T )

returns the values <T> of the X2 derivatives for the parameter Param.

◆ Derivatives()

bool GeomFill_FunctionDraft::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.

◆ DerivT()

bool GeomFill_FunctionDraft::DerivT ( const occ::handle< Adaptor3d_Curve > & C,
const double Param,
const double W,
const gp_Vec & dN,
const double teta,
math_Vector & F )

returns the values <F> of the T derivatives for the parameter Param.

◆ DerivTX()

bool GeomFill_FunctionDraft::DerivTX ( const gp_Vec & dN,
const double teta,
math_Matrix & D )

returns the values <D> of the TX derivatives for the parameter Param.

◆ NbEquations()

int GeomFill_FunctionDraft::NbEquations ( ) const
overridevirtual

returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbVariables()

int GeomFill_FunctionDraft::NbVariables ( ) const
overridevirtual

returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ Value()

bool GeomFill_FunctionDraft::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 GeomFill_FunctionDraft::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: