Open CASCADE Technology  7.7.0
Public Member Functions
IntPatch_ArcFunction Class Reference

#include <IntPatch_ArcFunction.hxx>

Inheritance diagram for IntPatch_ArcFunction:
Inheritance graph
[legend]

Public Member Functions

 IntPatch_ArcFunction ()
 
void SetQuadric (const IntSurf_Quadric &Q)
 
void Set (const Handle< Adaptor2d_Curve2d > &A)
 
void Set (const Handle< Adaptor3d_Surface > &S)
 
Standard_Boolean Value (const Standard_Real X, Standard_Real &F) override
 Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
 
Standard_Boolean Derivative (const Standard_Real X, Standard_Real &D) override
 Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
 
Standard_Boolean Values (const Standard_Real X, Standard_Real &F, Standard_Real &D) override
 Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
 
Standard_Integer NbSamples () const
 
virtual Standard_Integer GetStateNumber () override
 returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined 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...
 
const gp_PntValpoint (const Standard_Integer Index) const
 
const IntSurf_QuadricQuadric () const
 
const Handle< Adaptor2d_Curve2d > & Arc () const
 
const Handle< Adaptor3d_Surface > & Surface () const
 
const gp_PntLastComputedPoint () const
 Returns the point, which has been computed while the last calling Value() method. More...
 
- Public Member Functions inherited from math_FunctionWithDerivative
virtual ~math_FunctionWithDerivative ()
 
- Public Member Functions inherited from math_Function
virtual ~math_Function ()
 Virtual destructor, for safe inheritance. More...
 

Constructor & Destructor Documentation

◆ IntPatch_ArcFunction()

IntPatch_ArcFunction::IntPatch_ArcFunction ( )

Member Function Documentation

◆ Arc()

const Handle< Adaptor2d_Curve2d >& IntPatch_ArcFunction::Arc ( ) const

◆ Derivative()

Standard_Boolean IntPatch_ArcFunction::Derivative ( const Standard_Real  X,
Standard_Real D 
)
overridevirtual

Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.

◆ GetStateNumber()

virtual Standard_Integer IntPatch_ArcFunction::GetStateNumber ( )
overridevirtual

returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined 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.

Reimplemented from math_Function.

◆ LastComputedPoint()

const gp_Pnt& IntPatch_ArcFunction::LastComputedPoint ( ) const

Returns the point, which has been computed while the last calling Value() method.

◆ NbSamples()

Standard_Integer IntPatch_ArcFunction::NbSamples ( ) const

◆ Quadric()

const IntSurf_Quadric& IntPatch_ArcFunction::Quadric ( ) const

◆ Set() [1/2]

void IntPatch_ArcFunction::Set ( const Handle< Adaptor2d_Curve2d > &  A)

◆ Set() [2/2]

void IntPatch_ArcFunction::Set ( const Handle< Adaptor3d_Surface > &  S)

◆ SetQuadric()

void IntPatch_ArcFunction::SetQuadric ( const IntSurf_Quadric Q)

◆ Surface()

const Handle< Adaptor3d_Surface >& IntPatch_ArcFunction::Surface ( ) const

◆ Valpoint()

const gp_Pnt& IntPatch_ArcFunction::Valpoint ( const Standard_Integer  Index) const

◆ Value()

Standard_Boolean IntPatch_ArcFunction::Value ( const Standard_Real  X,
Standard_Real F 
)
overridevirtual

Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.

◆ Values()

Standard_Boolean IntPatch_ArcFunction::Values ( const Standard_Real  X,
Standard_Real F,
Standard_Real D 
)
overridevirtual

Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.


The documentation for this class was generated from the following file: