#include <Extrema_ECC.hxx>
|
| Extrema_ECC () |
| Calculates all the distances as above between Uinf and Usup for C1 and between Vinf and Vsup for C2.
|
|
| Extrema_ECC (const Adaptor3d_Curve &C1, const Adaptor3d_Curve &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_ECC (const Adaptor3d_Curve &C1, const Adaptor3d_Curve &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 Adaptor3d_Curve &C1, const Adaptor3d_Curve &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_POnCurv &P1, Extrema_POnCurv &P2) const |
| Returns the points of the Nth extremum distance. P1 is on the first curve, P2 on the second one.
|
|
◆ Extrema_ECC() [1/3]
Extrema_ECC::Extrema_ECC |
( |
| ) |
|
Calculates all the distances as above between Uinf and Usup for C1 and between Vinf and Vsup for C2.
◆ Extrema_ECC() [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_ECC() [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_ECC::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_ECC::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: