Open CASCADE Technology
7.2.0
|
It calculates all the distances between 2 elementary surfaces. These distances can be maximum or minimum. More...
#include <Extrema_ExtElSS.hxx>
Public Member Functions | |
Extrema_ExtElSS () | |
Extrema_ExtElSS (const gp_Pln &S1, const gp_Pln &S2) | |
Calculates the distances between 2 planes. These planes can be parallel. More... | |
void | Perform (const gp_Pln &S1, const gp_Pln &S2) |
Extrema_ExtElSS (const gp_Pln &S1, const gp_Sphere &S2) | |
Calculates the distances between a plane and a sphere. More... | |
void | Perform (const gp_Pln &S1, const gp_Sphere &S2) |
Extrema_ExtElSS (const gp_Sphere &S1, const gp_Sphere &S2) | |
Calculates the distances between 2 spheres. These spheres can be parallel. More... | |
void | Perform (const gp_Sphere &S1, const gp_Sphere &S2) |
Extrema_ExtElSS (const gp_Sphere &S1, const gp_Cylinder &S2) | |
Calculates the distances between a sphere and a cylinder. More... | |
void | Perform (const gp_Sphere &S1, const gp_Cylinder &S2) |
Extrema_ExtElSS (const gp_Sphere &S1, const gp_Cone &S2) | |
Calculates the distances between a sphere and a cone. More... | |
void | Perform (const gp_Sphere &S1, const gp_Cone &S2) |
Extrema_ExtElSS (const gp_Sphere &S1, const gp_Torus &S2) | |
Calculates the distances between a sphere and a torus. More... | |
void | Perform (const gp_Sphere &S1, const gp_Torus &S2) |
Standard_Boolean | IsDone () const |
Returns True if the distances are found. More... | |
Standard_Boolean | IsParallel () const |
Returns True if the two surfaces are parallel. More... | |
Standard_Integer | NbExt () const |
Returns the number of extremum distances. More... | |
Standard_Real | SquareDistance (const Standard_Integer N=1) const |
Returns the value of the Nth extremum square distance. More... | |
void | Points (const Standard_Integer N, Extrema_POnSurf &P1, Extrema_POnSurf &P2) const |
Returns the points for the Nth resulting distance. P1 is on the first surface, P2 on the second one. More... | |
It calculates all the distances between 2 elementary surfaces. These distances can be maximum or minimum.
Extrema_ExtElSS::Extrema_ExtElSS | ( | ) |
Calculates the distances between 2 planes. These planes can be parallel.
Calculates the distances between a plane and a sphere.
Calculates the distances between 2 spheres. These spheres can be parallel.
Extrema_ExtElSS::Extrema_ExtElSS | ( | const gp_Sphere & | S1, |
const gp_Cylinder & | S2 | ||
) |
Calculates the distances between a sphere and a cylinder.
Calculates the distances between a sphere and a cone.
Calculates the distances between a sphere and a torus.
Standard_Boolean Extrema_ExtElSS::IsDone | ( | ) | const |
Returns True if the distances are found.
Standard_Boolean Extrema_ExtElSS::IsParallel | ( | ) | const |
Returns True if the two surfaces are parallel.
Standard_Integer Extrema_ExtElSS::NbExt | ( | ) | const |
Returns the number of extremum distances.
void Extrema_ExtElSS::Perform | ( | const gp_Sphere & | S1, |
const gp_Cylinder & | S2 | ||
) |
void Extrema_ExtElSS::Points | ( | const Standard_Integer | N, |
Extrema_POnSurf & | P1, | ||
Extrema_POnSurf & | P2 | ||
) | const |
Returns the points for the Nth resulting distance. P1 is on the first surface, P2 on the second one.
Standard_Real Extrema_ExtElSS::SquareDistance | ( | const Standard_Integer | N = 1 | ) | const |
Returns the value of the Nth extremum square distance.