Open CASCADE Technology 7.8.2.dev
Geom2dLProp_FuncCurExt Class Reference

Function used to find the extremas of curvature in 2d. More...

#include <Geom2dLProp_FuncCurExt.hxx>

Inheritance diagram for Geom2dLProp_FuncCurExt:

Public Member Functions

 Geom2dLProp_FuncCurExt (const Handle< Geom2d_Curve > &C, const Standard_Real Tol)
 
Standard_Boolean Value (const Standard_Real X, Standard_Real &F)
 Returns the value for the variable <X>.
 
Standard_Boolean Derivative (const Standard_Real X, Standard_Real &D)
 Returns the derivative for the variable <X>.
 
Standard_Boolean Values (const Standard_Real X, Standard_Real &F, Standard_Real &D)
 Returns the value of the function and the derivative for the variable <X>.
 
Standard_Boolean IsMinKC (const Standard_Real Param) const
 True if Param corresponds to a minus of the radius of curvature.
 
- 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.
 
virtual Standard_Integer GetStateNumber ()
 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.
 

Detailed Description

Function used to find the extremas of curvature in 2d.

Constructor & Destructor Documentation

◆ Geom2dLProp_FuncCurExt()

Geom2dLProp_FuncCurExt::Geom2dLProp_FuncCurExt ( const Handle< Geom2d_Curve > & C,
const Standard_Real Tol )

Member Function Documentation

◆ Derivative()

Standard_Boolean Geom2dLProp_FuncCurExt::Derivative ( const Standard_Real X,
Standard_Real & D )
virtual

Returns the derivative for the variable <X>.

Implements math_FunctionWithDerivative.

◆ IsMinKC()

Standard_Boolean Geom2dLProp_FuncCurExt::IsMinKC ( const Standard_Real Param) const

True if Param corresponds to a minus of the radius of curvature.

◆ Value()

Standard_Boolean Geom2dLProp_FuncCurExt::Value ( const Standard_Real X,
Standard_Real & F )
virtual

Returns the value for the variable <X>.

Implements math_FunctionWithDerivative.

◆ Values()

Standard_Boolean Geom2dLProp_FuncCurExt::Values ( const Standard_Real X,
Standard_Real & F,
Standard_Real & D )
virtual

Returns the value of the function and the derivative for the variable <X>.

Implements math_FunctionWithDerivative.


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