#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.
|
|
| 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.
|
|
| 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.
|
|
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.
|
|
void | SetTolerance (const Standard_Real Tol) |
|
void | SetSingleSolutionFlag (const Standard_Boolean theSingleSolutionFlag) |
| Set flag for single extrema computation. Works on parametric solver only.
|
|
Standard_Boolean | GetSingleSolutionFlag () const |
| Get flag for single extrema computation. Works on parametric solver only.
|
|
void | Perform () |
| Performs calculations.
|
|
Standard_Boolean | IsDone () const |
| Returns True if the distances are found.
|
|
Standard_Boolean | IsParallel () const |
| Returns state of myParallel flag.
|
|
Standard_Integer | NbExt () const |
| Returns the number of extremum distances.
|
|
Standard_Real | SquareDistance (const Standard_Integer N=1) const |
| Returns the value of the Nth square extremum distance.
|
|
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.
|
|
◆ Extrema_ECC2d() [1/3]
Extrema_ECC2d::Extrema_ECC2d |
( |
| ) |
|
Calculates all the distances as above between Uinf and Usup for C1 and between Vinf and Vsup for C2.
◆ Extrema_ECC2d() [2/3]
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.
◆ Extrema_ECC2d() [3/3]
Calculates all the distances as above between Uinf and Usup for C1 and between Vinf and Vsup for C2.
◆ GetSingleSolutionFlag()
Get flag for single extrema computation. Works on parametric solver only.
◆ IsDone()
Returns True if the distances are found.
◆ IsParallel()
Returns state of myParallel flag.
◆ NbExt()
Returns the number of extremum distances.
◆ Perform()
void Extrema_ECC2d::Perform |
( |
| ) |
|
◆ Points()
Returns the points of the Nth extremum distance. P1 is on the first curve, P2 on the second one.
◆ SetParams()
Set params in case of empty constructor is usage.
◆ SetSingleSolutionFlag()
void Extrema_ECC2d::SetSingleSolutionFlag |
( |
const Standard_Boolean | theSingleSolutionFlag | ) |
|
Set flag for single extrema computation. Works on parametric solver only.
◆ SetTolerance()
◆ SquareDistance()
Returns the value of the Nth square extremum distance.
The documentation for this class was generated from the following file: