It calculates all the distance between two curves. These distances can be maximum or minimum.
More...
#include <Extrema_ExtCC2d.hxx>
|
| | Extrema_ExtCC2d () |
| | Extrema_ExtCC2d (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const double TolC1=1.0e-10, const double TolC2=1.0e-10) |
| | It calculates all the distances.
|
| | Extrema_ExtCC2d (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const double U1, const double U2, const double V1, const double V2, const double TolC1=1.0e-10, const double TolC2=1.0e-10) |
| | It calculates all the distances.
|
| void | Initialize (const Adaptor2d_Curve2d &C2, const double V1, const double V2, const double TolC1=1.0e-10, const double TolC2=1.0e-10) |
| | initializes the fields.
|
| void | Perform (const Adaptor2d_Curve2d &C1, const double U1, const double U2) |
| bool | IsDone () const |
| | Returns True if the distances are found.
|
| int | NbExt () const |
| | Returns the number of extremum distances.
|
| bool | IsParallel () const |
| | Returns True if the two curves are parallel.
|
| double | SquareDistance (const int N=1) const |
| | Returns the value of the Nth extremum square distance.
|
| void | Points (const int N, Extrema_POnCurv2d &P1, Extrema_POnCurv2d &P2) const |
| | Returns the points of the Nth extremum distance. P1 is on the first curve, P2 on the second one.
|
| void | TrimmedSquareDistances (double &dist11, double &distP12, double &distP21, double &distP22, gp_Pnt2d &P11, gp_Pnt2d &P12, gp_Pnt2d &P21, gp_Pnt2d &P22) const |
| | if the curve is a trimmed curve, dist11 is a square distance between the point on C1 of parameter FirstParameter and the point of parameter FirstParameter on C2.
|
| void | SetSingleSolutionFlag (const bool theSingleSolutionFlag) |
| | Set flag for single extrema computation. Works on parametric solver only.
|
| bool | GetSingleSolutionFlag () const |
| | Get flag for single extrema computation. Works on parametric solver only.
|
|
| void | Results (const Extrema_ExtElC2d &AlgExt, const double Ut11, const double Ut12, const double Ut21, const double Ut22, const double Period1=0.0, const double Period2=0.0) |
| void | Results (const Extrema_ECC2d &AlgExt, const double Ut11, const double Ut12, const double Ut21, const double Ut22, const double Period1=0.0, const double Period2=0.0) |
It calculates all the distance between two curves. These distances can be maximum or minimum.
◆ Extrema_ExtCC2d() [1/3]
| Extrema_ExtCC2d::Extrema_ExtCC2d |
( |
| ) |
|
◆ Extrema_ExtCC2d() [2/3]
It calculates all the distances.
◆ Extrema_ExtCC2d() [3/3]
| Extrema_ExtCC2d::Extrema_ExtCC2d |
( |
const Adaptor2d_Curve2d & | C1, |
|
|
const Adaptor2d_Curve2d & | C2, |
|
|
const double | U1, |
|
|
const double | U2, |
|
|
const double | V1, |
|
|
const double | V2, |
|
|
const double | TolC1 = 1.0e-10, |
|
|
const double | TolC2 = 1.0e-10 ) |
It calculates all the distances.
◆ GetSingleSolutionFlag()
| bool Extrema_ExtCC2d::GetSingleSolutionFlag |
( |
| ) |
const |
Get flag for single extrema computation. Works on parametric solver only.
◆ Initialize()
| void Extrema_ExtCC2d::Initialize |
( |
const Adaptor2d_Curve2d & | C2, |
|
|
const double | V1, |
|
|
const double | V2, |
|
|
const double | TolC1 = 1.0e-10, |
|
|
const double | TolC2 = 1.0e-10 ) |
◆ IsDone()
| bool Extrema_ExtCC2d::IsDone |
( |
| ) |
const |
Returns True if the distances are found.
◆ IsParallel()
| bool Extrema_ExtCC2d::IsParallel |
( |
| ) |
const |
Returns True if the two curves are parallel.
◆ NbExt()
| int Extrema_ExtCC2d::NbExt |
( |
| ) |
const |
Returns the number of extremum distances.
◆ Perform()
◆ Points()
Returns the points of the Nth extremum distance. P1 is on the first curve, P2 on the second one.
◆ Results() [1/2]
| void Extrema_ExtCC2d::Results |
( |
const Extrema_ECC2d & | AlgExt, |
|
|
const double | Ut11, |
|
|
const double | Ut12, |
|
|
const double | Ut21, |
|
|
const double | Ut22, |
|
|
const double | Period1 = 0.0, |
|
|
const double | Period2 = 0.0 ) |
|
protected |
◆ Results() [2/2]
| void Extrema_ExtCC2d::Results |
( |
const Extrema_ExtElC2d & | AlgExt, |
|
|
const double | Ut11, |
|
|
const double | Ut12, |
|
|
const double | Ut21, |
|
|
const double | Ut22, |
|
|
const double | Period1 = 0.0, |
|
|
const double | Period2 = 0.0 ) |
|
protected |
◆ SetSingleSolutionFlag()
| void Extrema_ExtCC2d::SetSingleSolutionFlag |
( |
const bool | theSingleSolutionFlag | ) |
|
Set flag for single extrema computation. Works on parametric solver only.
◆ SquareDistance()
| double Extrema_ExtCC2d::SquareDistance |
( |
const int | N = 1 | ) |
const |
Returns the value of the Nth extremum square distance.
◆ TrimmedSquareDistances()
| void Extrema_ExtCC2d::TrimmedSquareDistances |
( |
double & | dist11, |
|
|
double & | distP12, |
|
|
double & | distP21, |
|
|
double & | distP22, |
|
|
gp_Pnt2d & | P11, |
|
|
gp_Pnt2d & | P12, |
|
|
gp_Pnt2d & | P21, |
|
|
gp_Pnt2d & | P22 ) const |
if the curve is a trimmed curve, dist11 is a square distance between the point on C1 of parameter FirstParameter and the point of parameter FirstParameter on C2.
The documentation for this class was generated from the following file: