Open CASCADE Technology
7.7.0
|
It calculates all the extremum distances between two surfaces. These distances can be minimum or maximum. More...
#include <Extrema_ExtSS.hxx>
Public Member Functions | |
Extrema_ExtSS () | |
Extrema_ExtSS (const Adaptor3d_Surface &S1, const Adaptor3d_Surface &S2, const Standard_Real TolS1, const Standard_Real TolS2) | |
It calculates all the distances between S1 and S2. More... | |
Extrema_ExtSS (const Adaptor3d_Surface &S1, const Adaptor3d_Surface &S2, const Standard_Real Uinf1, const Standard_Real Usup1, const Standard_Real Vinf1, const Standard_Real Vsup1, const Standard_Real Uinf2, const Standard_Real Usup2, const Standard_Real Vinf2, const Standard_Real Vsup2, const Standard_Real TolS1, const Standard_Real TolS2) | |
It calculates all the distances between S1 and S2. More... | |
void | Initialize (const Adaptor3d_Surface &S2, const Standard_Real Uinf2, const Standard_Real Usup2, const Standard_Real Vinf2, const Standard_Real Vsup2, const Standard_Real TolS1) |
Initializes the fields of the algorithm. More... | |
void | Perform (const Adaptor3d_Surface &S1, const Standard_Real Uinf1, const Standard_Real Usup1, const Standard_Real Vinf1, const Standard_Real Vsup1, const Standard_Real TolS1) |
Computes the distances. An exception is raised if the fieds have not been initialized. More... | |
Standard_Boolean | IsDone () const |
Returns True if the distances are found. More... | |
Standard_Boolean | IsParallel () const |
Returns True if the surfaces are parallel. More... | |
Standard_Integer | NbExt () const |
Returns the number of extremum distances. More... | |
Standard_Real | SquareDistance (const Standard_Integer N) const |
Returns the value of the Nth resulting square distance. More... | |
void | Points (const Standard_Integer N, Extrema_POnSurf &P1, Extrema_POnSurf &P2) const |
Returns the point of the Nth resulting distance. More... | |
It calculates all the extremum distances between two surfaces. These distances can be minimum or maximum.
Extrema_ExtSS::Extrema_ExtSS | ( | ) |
Extrema_ExtSS::Extrema_ExtSS | ( | const Adaptor3d_Surface & | S1, |
const Adaptor3d_Surface & | S2, | ||
const Standard_Real | TolS1, | ||
const Standard_Real | TolS2 | ||
) |
It calculates all the distances between S1 and S2.
Extrema_ExtSS::Extrema_ExtSS | ( | const Adaptor3d_Surface & | S1, |
const Adaptor3d_Surface & | S2, | ||
const Standard_Real | Uinf1, | ||
const Standard_Real | Usup1, | ||
const Standard_Real | Vinf1, | ||
const Standard_Real | Vsup1, | ||
const Standard_Real | Uinf2, | ||
const Standard_Real | Usup2, | ||
const Standard_Real | Vinf2, | ||
const Standard_Real | Vsup2, | ||
const Standard_Real | TolS1, | ||
const Standard_Real | TolS2 | ||
) |
It calculates all the distances between S1 and S2.
void Extrema_ExtSS::Initialize | ( | const Adaptor3d_Surface & | S2, |
const Standard_Real | Uinf2, | ||
const Standard_Real | Usup2, | ||
const Standard_Real | Vinf2, | ||
const Standard_Real | Vsup2, | ||
const Standard_Real | TolS1 | ||
) |
Initializes the fields of the algorithm.
Standard_Boolean Extrema_ExtSS::IsDone | ( | ) | const |
Returns True if the distances are found.
Standard_Boolean Extrema_ExtSS::IsParallel | ( | ) | const |
Returns True if the surfaces are parallel.
Standard_Integer Extrema_ExtSS::NbExt | ( | ) | const |
Returns the number of extremum distances.
void Extrema_ExtSS::Perform | ( | const Adaptor3d_Surface & | S1, |
const Standard_Real | Uinf1, | ||
const Standard_Real | Usup1, | ||
const Standard_Real | Vinf1, | ||
const Standard_Real | Vsup1, | ||
const Standard_Real | TolS1 | ||
) |
Computes the distances. An exception is raised if the fieds have not been initialized.
void Extrema_ExtSS::Points | ( | const Standard_Integer | N, |
Extrema_POnSurf & | P1, | ||
Extrema_POnSurf & | P2 | ||
) | const |
Returns the point of the Nth resulting distance.
Standard_Real Extrema_ExtSS::SquareDistance | ( | const Standard_Integer | N | ) | const |
Returns the value of the Nth resulting square distance.