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

#include <BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox.hxx>

Inheritance diagram for BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox:
Inheritance graph
[legend]

Public Member Functions

 BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ()
 
 BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox (const BRepAdaptor_Surface &PS, const IntSurf_Quadric &IS)
 
 BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox (const IntSurf_Quadric &IS)
 
void Set (const BRepAdaptor_Surface &PS)
 
void SetImplicitSurface (const IntSurf_Quadric &IS)
 
void Set (const double Tolerance)
 
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.
 
double Root () const
 
double Tolerance () const
 Returns the value Tol so that if std::abs(Func.Root())<Tol the function is considered null.
 
const gp_PntPoint () const
 
bool IsTangent ()
 
const gp_VecDirection3d ()
 
const gp_Dir2dDirection2d ()
 
const BRepAdaptor_SurfacePSurface () const
 
const IntSurf_QuadricISurface () 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 ()
 

Constructor & Destructor Documentation

◆ BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox() [1/3]

BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ( )

◆ BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox() [2/3]

BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ( const BRepAdaptor_Surface & PS,
const IntSurf_Quadric & IS )

◆ BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox() [3/3]

BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ( const IntSurf_Quadric & IS)

Member Function Documentation

◆ Derivatives()

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

◆ Direction2d()

const gp_Dir2d & BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Direction2d ( )

◆ Direction3d()

const gp_Vec & BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Direction3d ( )

◆ IsTangent()

bool BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::IsTangent ( )

◆ ISurface()

const IntSurf_Quadric & BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::ISurface ( ) const

◆ NbEquations()

int BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::NbEquations ( ) const
overridevirtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbVariables()

int BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ Point()

const gp_Pnt & BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Point ( ) const

◆ PSurface()

const BRepAdaptor_Surface & BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::PSurface ( ) const

◆ Root()

double BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Root ( ) const

◆ Set() [1/2]

void BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Set ( const BRepAdaptor_Surface & PS)

◆ Set() [2/2]

void BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Set ( const double Tolerance)

◆ SetImplicitSurface()

void BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::SetImplicitSurface ( const IntSurf_Quadric & IS)

◆ Tolerance()

double BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Tolerance ( ) const

Returns the value Tol so that if std::abs(Func.Root())<Tol the function is considered null.

◆ Value()

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