Open CASCADE Technology
7.2.0
|
With two close points it calculates the distance between two surfaces. This distance can be a minimum or a maximum. More...
#include <Extrema_GenLocateExtCS.hxx>
Public Member Functions | |
Extrema_GenLocateExtCS () | |
Extrema_GenLocateExtCS (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const Standard_Real T, const Standard_Real U, const Standard_Real V, const Standard_Real Tol1, const Standard_Real Tol2) | |
Calculates the distance with two close points. The close points are defined by the parameter values T for C and (U,V) for S. The function F(t,u,v)=distance(C(t),S(u,v)) has an extremun when gradient(F)=0. The algorithm searchs a zero near the close points. More... | |
void | Perform (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const Standard_Real T, const Standard_Real U, const Standard_Real V, const Standard_Real Tol1, const Standard_Real Tol2) |
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... | |
const Extrema_POnCurv & | PointOnCurve () const |
Returns the point of the extremum distance on C. More... | |
const Extrema_POnSurf & | PointOnSurface () const |
Returns the point of the extremum distance on S. More... | |
With two close points it calculates the distance between two surfaces. This distance can be a minimum or a maximum.
Extrema_GenLocateExtCS::Extrema_GenLocateExtCS | ( | ) |
Extrema_GenLocateExtCS::Extrema_GenLocateExtCS | ( | const Adaptor3d_Curve & | C, |
const Adaptor3d_Surface & | S, | ||
const Standard_Real | T, | ||
const Standard_Real | U, | ||
const Standard_Real | V, | ||
const Standard_Real | Tol1, | ||
const Standard_Real | Tol2 | ||
) |
Calculates the distance with two close points. The close points are defined by the parameter values T for C and (U,V) for S. The function F(t,u,v)=distance(C(t),S(u,v)) has an extremun when gradient(F)=0. The algorithm searchs a zero near the close points.
Standard_Boolean Extrema_GenLocateExtCS::IsDone | ( | ) | const |
Returns True if the distance is found.
void Extrema_GenLocateExtCS::Perform | ( | const Adaptor3d_Curve & | C, |
const Adaptor3d_Surface & | S, | ||
const Standard_Real | T, | ||
const Standard_Real | U, | ||
const Standard_Real | V, | ||
const Standard_Real | Tol1, | ||
const Standard_Real | Tol2 | ||
) |
const Extrema_POnCurv& Extrema_GenLocateExtCS::PointOnCurve | ( | ) | const |
Returns the point of the extremum distance on C.
const Extrema_POnSurf& Extrema_GenLocateExtCS::PointOnSurface | ( | ) | const |
Returns the point of the extremum distance on S.
Standard_Real Extrema_GenLocateExtCS::SquareDistance | ( | ) | const |
Returns the value of the extremum square distance.