Public Member Functions |
DEFINE_STANDARD_ALLOC | Extrema_ExtElSS () |
| Extrema_ExtElSS (const gp_Pln &S1, const gp_Pln &S2) |
| Calculates the distances between 2 planes.
These planes can be parallel.
|
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.
|
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.
|
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.
|
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.
|
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.
|
void | Perform (const gp_Sphere &S1, const gp_Torus &S2) |
Standard_Boolean | IsDone () const |
| Returns True if the distances are found.
|
Standard_Boolean | IsParallel () const |
| Returns True if the two surfaces are parallel.
|
Standard_Integer | NbExt () const |
| Returns the number of extremum distances.
|
Standard_Real | SquareDistance (const Standard_Integer N=1) const |
| Returns the value of the Nth extremum square distance.
|
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.
|