![]() |
Open CASCADE Technology Reference Manual 8.0.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 double T, const double U, const double V, const double Tol1, const double 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 searches a zero near the close points. | |
| void | Perform (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const double T, const double U, const double V, const double Tol1, const double Tol2) |
| bool | IsDone () const |
| Returns True if the distance is found. | |
| double | SquareDistance () const |
| Returns the value of the extremum square distance. | |
| const Extrema_POnCurv & | PointOnCurve () const |
| Returns the point of the extremum distance on C. | |
| const Extrema_POnSurf & | PointOnSurface () const |
| Returns the point of the extremum distance on S. | |
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 double | T, | ||
| const double | U, | ||
| const double | V, | ||
| const double | Tol1, | ||
| const double | 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 searches a zero near the close points.
| bool Extrema_GenLocateExtCS::IsDone | ( | ) | const |
Returns True if the distance is found.
| void Extrema_GenLocateExtCS::Perform | ( | const Adaptor3d_Curve & | C, |
| const Adaptor3d_Surface & | S, | ||
| const double | T, | ||
| const double | U, | ||
| const double | V, | ||
| const double | Tol1, | ||
| const double | 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.
| double Extrema_GenLocateExtCS::SquareDistance | ( | ) | const |
Returns the value of the extremum square distance.