#include <Extrema_ECC2d.hxx>
|
| Extrema_ECC2d () |
| Calculates all the distances as above between Uinf and Usup for C1 and between Vinf and Vsup for C2. More...
|
|
| Extrema_ECC2d (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2) |
| It calculates all the distances. The function F(u,v)=distance(C1(u),C2(v)) has an extremum when gradient(f)=0. The algorithm uses Evtushenko's global optimization solver. More...
|
|
| Extrema_ECC2d (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real Uinf, const Standard_Real Usup, const Standard_Real Vinf, const Standard_Real Vsup) |
| Calculates all the distances as above between Uinf and Usup for C1 and between Vinf and Vsup for C2. More...
|
|
void | SetParams (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real Uinf, const Standard_Real Usup, const Standard_Real Vinf, const Standard_Real Vsup) |
| Set params in case of empty constructor is usage. More...
|
|
void | SetTolerance (const Standard_Real Tol) |
|
void | SetSingleSolutionFlag (const Standard_Boolean theSingleSolutionFlag) |
| Set flag for single extrema computation. Works on parametric solver only. More...
|
|
Standard_Boolean | GetSingleSolutionFlag () const |
| Get flag for single extrema computation. Works on parametric solver only. More...
|
|
void | Perform () |
| Performs calculations. More...
|
|
Standard_Boolean | IsDone () const |
| Returns True if the distances are found. More...
|
|
Standard_Boolean | IsParallel () const |
| Returns state of myParallel flag. More...
|
|
Standard_Integer | NbExt () const |
| Returns the number of extremum distances. More...
|
|
Standard_Real | SquareDistance (const Standard_Integer N=1) const |
| Returns the value of the Nth square extremum distance. More...
|
|
void | Points (const Standard_Integer N, Extrema_POnCurv2d &P1, Extrema_POnCurv2d &P2) const |
| Returns the points of the Nth extremum distance. P1 is on the first curve, P2 on the second one. More...
|
|
Extrema_ECC2d::Extrema_ECC2d |
( |
| ) |
|
Calculates all the distances as above between Uinf and Usup for C1 and between Vinf and Vsup for C2.
It calculates all the distances. The function F(u,v)=distance(C1(u),C2(v)) has an extremum when gradient(f)=0. The algorithm uses Evtushenko's global optimization solver.
Calculates all the distances as above between Uinf and Usup for C1 and between Vinf and Vsup for C2.
Get flag for single extrema computation. Works on parametric solver only.
Returns True if the distances are found.
Returns state of myParallel flag.
Returns the number of extremum distances.
void Extrema_ECC2d::Perform |
( |
| ) |
|
Returns the points of the Nth extremum distance. P1 is on the first curve, P2 on the second one.
Set params in case of empty constructor is usage.
void Extrema_ECC2d::SetSingleSolutionFlag |
( |
const Standard_Boolean |
theSingleSolutionFlag | ) |
|
Set flag for single extrema computation. Works on parametric solver only.
Returns the value of the Nth square extremum distance.
The documentation for this class was generated from the following file: