Open CASCADE Technology
7.7.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 () | |
Constructor. More... | |
GeomConvert_FuncConeLSDist (const Handle< TColgp_HArray1OfXYZ > &thePoints, const gp_Dir &theDir) | |
void | SetPoints (const Handle< TColgp_HArray1OfXYZ > &thePoints) |
void | SetDir (const gp_Dir &theDir) |
Standard_Integer | NbVariables () const override |
Number of variables. More... | |
Standard_Boolean | Value (const math_Vector &X, Standard_Real &F) override |
Value. More... | |
Public Member Functions inherited from math_MultipleVarFunction | |
virtual Standard_Integer | 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. More... | |
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.
|
inline |
Constructor.
GeomConvert_FuncConeLSDist::GeomConvert_FuncConeLSDist | ( | const Handle< TColgp_HArray1OfXYZ > & | thePoints, |
const gp_Dir & | theDir | ||
) |
|
overridevirtual |
Number of variables.
Implements math_MultipleVarFunction.
|
inline |
|
inline |
|
overridevirtual |
Value.
Implements math_MultipleVarFunction.