![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Template class for locating local extremum of distance between two curves. Searches for a pair of parameter values (U,V) such that dist(C1(u),C2(v)) passes through an extremum, and (U,V) is the solution closest to (U0,V0). More...
#include <Extrema_GenLocateExtCC.hxx>
Public Member Functions | |
| Extrema_GenLocateExtCC (const TheCurve &theC1, const TheCurve &theC2, const double theU0, const double theV0, const double theTolU, const double theTolV) | |
| Calculates the distance between two curves C1 and C2. Searches for a local extremum starting from initial parameters (U0, V0). | |
| bool | IsDone () const |
| Returns True if the distance is found. | |
| double | SquareDistance () const |
| Returns the value of the extremum square distance. | |
| void | Point (ThePOnC &theP1, ThePOnC &theP2) const |
| Returns the points of the extremum distance. | |
Template class for locating local extremum of distance between two curves. Searches for a pair of parameter values (U,V) such that dist(C1(u),C2(v)) passes through an extremum, and (U,V) is the solution closest to (U0,V0).
| TheCurve | Curve type (e.g., Adaptor3d_Curve, Adaptor2d_Curve2d) |
| TheTool | Tool for curve operations |
| ThePOnC | Point on curve type |
| TheCCLocF | Function type for curve-curve local extremum |
|
inline |
Calculates the distance between two curves C1 and C2. Searches for a local extremum starting from initial parameters (U0, V0).
| theC1 | First curve |
| theC2 | Second curve |
| theU0 | Initial parameter on first curve |
| theV0 | Initial parameter on second curve |
| theTolU | Tolerance on parameter of first curve |
| theTolV | Tolerance on parameter of second curve |
Returns True if the distance is found.
|
inline |
Returns the points of the extremum distance.
| theP1 | Point on first curve |
| theP2 | Point on second curve |
|
inline |
Returns the value of the extremum square distance.