|
| | Extrema_GFuncExtCC (const double theTol=1.0e-10) |
| | Default constructor with tolerance.
|
| |
| | Extrema_GFuncExtCC (const TheCurve1 &theC1, const TheCurve2 &theC2, const double theTol=1.0e-10) |
| | Constructor with curves.
|
| |
| void | SetCurve (const int theRank, const TheCurve1 &theC) |
| | Sets the curve for the specified rank (1 or 2).
|
| |
| void | SetTolerance (const double theTol) |
| | Sets the tolerance.
|
| |
| int | NbVariables () const override |
| | Returns the number of variables (2).
|
| |
| int | NbEquations () const override |
| | Returns the number of equations (2).
|
| |
| bool | Value (const math_Vector &theUV, math_Vector &theF) override |
| | Calculate Fi(U,V).
|
| |
| bool | Derivatives (const math_Vector &theUV, math_Matrix &theDF) override |
| | Calculate Fi'(U,V).
|
| |
| bool | Values (const math_Vector &theUV, math_Vector &theF, math_Matrix &theDF) override |
| | Calculate Fi(U,V) and Fi'(U,V).
|
| |
| int | GetStateNumber () override |
| | Save the found extremum.
|
| |
| int | NbExt () const |
| | Return the number of found extrema.
|
| |
| double | SquareDistance (const int theN) const |
| | Return the value of the Nth distance.
|
| |
| void | Points (const int theN, ThePOnC &theP1, ThePOnC &theP2) const |
| | Return the points of the Nth extreme distance.
|
| |
| void * | CurvePtr (const int theRank) const |
| | Returns a pointer to the curve specified in the constructor or in SetCurve() method.
|
| |
| double | Tolerance () const |
| | Returns a tolerance specified in the constructor or in SetTolerance() method.
|
| |
| void | SubIntervalInitialize (const math_Vector &theUfirst, const math_Vector &theUlast) |
| | Determines boundaries of subinterval for find of root.
|
| |
| double | SearchOfTolerance (void *const theC) |
| | Computes a Tol value. If 1st derivative of curve |D1|<Tol, it is considered D1=0.
|
| |
| virtual | ~math_FunctionSet () |
| |
template<
typename TheCurve1,
typename TheCurveTool1,
typename TheCurve2,
typename TheCurveTool2,
typename ThePOnC,
typename ThePoint,
typename TheVector,
typename TheSequenceOfPOnC>
class Extrema_GFuncExtCC< TheCurve1, TheCurveTool1, TheCurve2, TheCurveTool2, ThePOnC, ThePoint, TheVector, TheSequenceOfPOnC >
Template class for function used to find extremal distance between two curves. This class inherits from math_FunctionSetWithDerivatives and is used by the algorithm math_FunctionSetRoot.
- Template Parameters
-
| TheCurve1 | Type of the first curve (e.g., Adaptor3d_Curve) |
| TheCurveTool1 | Tool class for the first curve |
| TheCurve2 | Type of the second curve |
| TheCurveTool2 | Tool class for the second curve |
| ThePOnC | Point on curve type (e.g., Extrema_POnCurv) |
| ThePoint | Point type (e.g., gp_Pnt) |
| TheVector | Vector type (e.g., gp_Vec) |
| TheSequenceOfPOnC | Sequence of points on curve |