![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Function for search of Cone canonic parameters: coordinates of center local coordinate system, direction of axis, radius and semi-angle from set of points by least square method. More...
#include <GeomConvert_FuncConeLSDist.hxx>

Public Member Functions | |
| GeomConvert_FuncConeLSDist ()=default | |
| Constructor. | |
| GeomConvert_FuncConeLSDist (const occ::handle< NCollection_HArray1< gp_XYZ > > &thePoints, const gp_Dir &theDir) | |
| void | SetPoints (const occ::handle< NCollection_HArray1< gp_XYZ > > &thePoints) |
| void | SetDir (const gp_Dir &theDir) |
| int | NbVariables () const override |
| Number of variables. | |
| bool | Value (const math_Vector &X, double &F) override |
| Value. | |
Public Member Functions inherited from math_MultipleVarFunction | |
| virtual int | GetStateNumber () |
| return the state of the function corresponding to the latestt call of any methods associated to 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_MultipleVarFunction () |
Function for search of Cone canonic parameters: coordinates of center local coordinate system, direction of axis, radius and semi-angle from set of points by least square method.
|
default |
Constructor.
| GeomConvert_FuncConeLSDist::GeomConvert_FuncConeLSDist | ( | const occ::handle< NCollection_HArray1< gp_XYZ > > & | thePoints, |
| const gp_Dir & | theDir ) |
|
overridevirtual |
Number of variables.
Implements math_MultipleVarFunction.
|
inline |
|
overridevirtual |
Value.
Implements math_MultipleVarFunction.