Open CASCADE Technology
7.7.0
|
#include <Extrema_LocECC.hxx>
Public Member Functions | |
Extrema_LocECC (const Adaptor3d_Curve &C1, const Adaptor3d_Curve &C2, const Standard_Real U0, const Standard_Real V0, const Standard_Real TolU, const Standard_Real TolV) | |
Calculates the distance with a close point. The close point is defined by a parameter value on each curve. The function F(u,v)=distance(C1(u),C2(v)) has an extremun when gradient(f)=0. The algorithm searches the zero near the close point. More... | |
Standard_Boolean | IsDone () const |
Returns True if the distance is found. More... | |
Standard_Real | SquareDistance () const |
Returns the value of the extremum square distance. More... | |
void | Point (Extrema_POnCurv &P1, Extrema_POnCurv &P2) const |
Returns the points of the extremum distance. P1 is on the first curve, P2 on the second one. More... | |
Extrema_LocECC::Extrema_LocECC | ( | const Adaptor3d_Curve & | C1, |
const Adaptor3d_Curve & | C2, | ||
const Standard_Real | U0, | ||
const Standard_Real | V0, | ||
const Standard_Real | TolU, | ||
const Standard_Real | TolV | ||
) |
Calculates the distance with a close point. The close point is defined by a parameter value on each curve. The function F(u,v)=distance(C1(u),C2(v)) has an extremun when gradient(f)=0. The algorithm searches the zero near the close point.
Standard_Boolean Extrema_LocECC::IsDone | ( | ) | const |
Returns True if the distance is found.
void Extrema_LocECC::Point | ( | Extrema_POnCurv & | P1, |
Extrema_POnCurv & | P2 | ||
) | const |
Returns the points of the extremum distance. P1 is on the first curve, P2 on the second one.
Standard_Real Extrema_LocECC::SquareDistance | ( | ) | const |
Returns the value of the extremum square distance.