Open CASCADE Technology
7.4.0
|
It calculates all the extremum distances between a point and a surface. These distances can be minimum or maximum. More...
#include <Extrema_ExtPElS.hxx>
Public Member Functions | |
Extrema_ExtPElS () | |
Extrema_ExtPElS (const gp_Pnt &P, const gp_Cylinder &S, const Standard_Real Tol) | |
It calculates all the distances between a point and a cylinder from gp. Tol is used to test if the point is on the axis. More... | |
void | Perform (const gp_Pnt &P, const gp_Cylinder &S, const Standard_Real Tol) |
Extrema_ExtPElS (const gp_Pnt &P, const gp_Pln &S, const Standard_Real Tol) | |
It calculates all the distances between a point and a plane from gp. Tol is used to test if the point is on the plane. More... | |
void | Perform (const gp_Pnt &P, const gp_Pln &S, const Standard_Real Tol) |
Extrema_ExtPElS (const gp_Pnt &P, const gp_Cone &S, const Standard_Real Tol) | |
It calculates all the distances between a point and a cone from gp. Tol is used to test if the point is at the apex or on the axis. More... | |
void | Perform (const gp_Pnt &P, const gp_Cone &S, const Standard_Real Tol) |
Extrema_ExtPElS (const gp_Pnt &P, const gp_Torus &S, const Standard_Real Tol) | |
It calculates all the distances between a point and a torus from gp. Tol is used to test if the point is on the axis. More... | |
void | Perform (const gp_Pnt &P, const gp_Torus &S, const Standard_Real Tol) |
Extrema_ExtPElS (const gp_Pnt &P, const gp_Sphere &S, const Standard_Real Tol) | |
It calculates all the distances between a point and a sphere from gp. Tol is used to test if the point is at the center. More... | |
void | Perform (const gp_Pnt &P, const gp_Sphere &S, const Standard_Real Tol) |
Standard_Boolean | IsDone () const |
Returns True if the distances are found. 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... | |
const Extrema_POnSurf & | Point (const Standard_Integer N) const |
Returns the point of the Nth resulting distance. More... | |
It calculates all the extremum distances between a point and a surface. These distances can be minimum or maximum.
Extrema_ExtPElS::Extrema_ExtPElS | ( | ) |
Extrema_ExtPElS::Extrema_ExtPElS | ( | const gp_Pnt & | P, |
const gp_Cylinder & | S, | ||
const Standard_Real | Tol | ||
) |
It calculates all the distances between a point and a cylinder from gp. Tol is used to test if the point is on the axis.
Extrema_ExtPElS::Extrema_ExtPElS | ( | const gp_Pnt & | P, |
const gp_Pln & | S, | ||
const Standard_Real | Tol | ||
) |
It calculates all the distances between a point and a plane from gp. Tol is used to test if the point is on the plane.
Extrema_ExtPElS::Extrema_ExtPElS | ( | const gp_Pnt & | P, |
const gp_Cone & | S, | ||
const Standard_Real | Tol | ||
) |
It calculates all the distances between a point and a cone from gp. Tol is used to test if the point is at the apex or on the axis.
Extrema_ExtPElS::Extrema_ExtPElS | ( | const gp_Pnt & | P, |
const gp_Torus & | S, | ||
const Standard_Real | Tol | ||
) |
It calculates all the distances between a point and a torus from gp. Tol is used to test if the point is on the axis.
Extrema_ExtPElS::Extrema_ExtPElS | ( | const gp_Pnt & | P, |
const gp_Sphere & | S, | ||
const Standard_Real | Tol | ||
) |
It calculates all the distances between a point and a sphere from gp. Tol is used to test if the point is at the center.
Standard_Boolean Extrema_ExtPElS::IsDone | ( | ) | const |
Returns True if the distances are found.
Standard_Integer Extrema_ExtPElS::NbExt | ( | ) | const |
Returns the number of extremum distances.
void Extrema_ExtPElS::Perform | ( | const gp_Pnt & | P, |
const gp_Cylinder & | S, | ||
const Standard_Real | Tol | ||
) |
void Extrema_ExtPElS::Perform | ( | const gp_Pnt & | P, |
const gp_Pln & | S, | ||
const Standard_Real | Tol | ||
) |
void Extrema_ExtPElS::Perform | ( | const gp_Pnt & | P, |
const gp_Cone & | S, | ||
const Standard_Real | Tol | ||
) |
void Extrema_ExtPElS::Perform | ( | const gp_Pnt & | P, |
const gp_Torus & | S, | ||
const Standard_Real | Tol | ||
) |
void Extrema_ExtPElS::Perform | ( | const gp_Pnt & | P, |
const gp_Sphere & | S, | ||
const Standard_Real | Tol | ||
) |
const Extrema_POnSurf& Extrema_ExtPElS::Point | ( | const Standard_Integer | N | ) | const |
Returns the point of the Nth resulting distance.
Standard_Real Extrema_ExtPElS::SquareDistance | ( | const Standard_Integer | N | ) | const |
Returns the value of the Nth resulting square distance.