It calculates all the extremum distances between a curve and a surface. These distances can be minimum or maximum.
More...
#include <Extrema_ExtCS.hxx>
|
| | Extrema_ExtCS () |
| | Extrema_ExtCS (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const double TolC, const double TolS) |
| | It calculates all the distances between C and S.
|
| | Extrema_ExtCS (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const double UCinf, const double UCsup, const double Uinf, const double Usup, const double Vinf, const double Vsup, const double TolC, const double TolS) |
| | It calculates all the distances between C and S. UCinf and UCmax are the start and end parameters of the curve.
|
| void | Initialize (const Adaptor3d_Surface &S, const double TolC, const double TolS) |
| | Initializes the fields of the algorithm.
|
| void | Initialize (const Adaptor3d_Surface &S, const double Uinf, const double Usup, const double Vinf, const double Vsup, const double TolC, const double TolS) |
| | Initializes the fields of the algorithm.
|
| void | Perform (const Adaptor3d_Curve &C, const double Uinf, const double Usup) |
| | Computes the distances. An exception is raised if the fields have not been initialized.
|
| bool | IsDone () const |
| | Returns True if the distances are found.
|
| bool | IsParallel () const |
| | Returns True if the curve is on a parallel surface.
|
| int | NbExt () const |
| | Returns the number of extremum distances.
|
| double | SquareDistance (const int N) const |
| | Returns the value of the Nth resulting square distance.
|
| void | Points (const int N, Extrema_POnCurv &P1, Extrema_POnSurf &P2) const |
| | Returns the point pair of the Nth extremum distance. Parallel results have a distance but no point pair.
|
It calculates all the extremum distances between a curve and a surface. These distances can be minimum or maximum.
◆ Extrema_ExtCS() [1/3]
| Extrema_ExtCS::Extrema_ExtCS |
( |
| ) |
|
◆ Extrema_ExtCS() [2/3]
It calculates all the distances between C and S.
◆ Extrema_ExtCS() [3/3]
| Extrema_ExtCS::Extrema_ExtCS |
( |
const Adaptor3d_Curve & | C, |
|
|
const Adaptor3d_Surface & | S, |
|
|
const double | UCinf, |
|
|
const double | UCsup, |
|
|
const double | Uinf, |
|
|
const double | Usup, |
|
|
const double | Vinf, |
|
|
const double | Vsup, |
|
|
const double | TolC, |
|
|
const double | TolS ) |
It calculates all the distances between C and S. UCinf and UCmax are the start and end parameters of the curve.
◆ Initialize() [1/2]
Initializes the fields of the algorithm.
◆ Initialize() [2/2]
| void Extrema_ExtCS::Initialize |
( |
const Adaptor3d_Surface & | S, |
|
|
const double | Uinf, |
|
|
const double | Usup, |
|
|
const double | Vinf, |
|
|
const double | Vsup, |
|
|
const double | TolC, |
|
|
const double | TolS ) |
Initializes the fields of the algorithm.
◆ IsDone()
| bool Extrema_ExtCS::IsDone |
( |
| ) |
const |
Returns True if the distances are found.
◆ IsParallel()
| bool Extrema_ExtCS::IsParallel |
( |
| ) |
const |
Returns True if the curve is on a parallel surface.
◆ NbExt()
| int Extrema_ExtCS::NbExt |
( |
| ) |
const |
Returns the number of extremum distances.
◆ Perform()
| void Extrema_ExtCS::Perform |
( |
const Adaptor3d_Curve & | C, |
|
|
const double | Uinf, |
|
|
const double | Usup ) |
Computes the distances. An exception is raised if the fields have not been initialized.
◆ Points()
Returns the point pair of the Nth extremum distance. Parallel results have a distance but no point pair.
- Parameters
-
| [in] | N | one-based index of the point pair |
| [out] | P1 | point on the curve |
| [out] | P2 | point on the surface |
- Exceptions
-
| StdFail_NotDone | if the computation is not done |
| Standard_OutOfRange | if N is outside the point range, including parallel results |
◆ SquareDistance()
| double Extrema_ExtCS::SquareDistance |
( |
const int | N | ) |
const |
Returns the value of the Nth resulting square distance.
The documentation for this class was generated from the following file: