|
Open CASCADE Technology 7.9.3
|
#include <Extrema_LocateExtPC2d.hxx>
Public Member Functions | |
| Extrema_LocateExtPC2d () | |
| Extrema_LocateExtPC2d (const gp_Pnt2d &P, const Adaptor2d_Curve2d &C, const Standard_Real U0, const Standard_Real TolF) | |
| Calculates the distance with a close point. The close point is defined by the parameter value U0. The function F(u)=distance(P,C(u)) has an extremum when g(u)=dF/du=0. The algorithm searches a zero near the close point. TolF is used to decide to stop the iterations. At the nth iteration, the criteria is: abs(Un - Un-1) < TolF. | |
| Extrema_LocateExtPC2d (const gp_Pnt2d &P, const Adaptor2d_Curve2d &C, const Standard_Real U0, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real TolF) | |
| Calculates the distance with a close point. The close point is defined by the parameter value U0. The function F(u)=distance(P,C(u)) has an extremum when g(u)=dF/du=0. The algorithm searches a zero near the close point. Zeros are searched between Umin et Usup. TolF is used to decide to stop the iterations. At the nth iteration, the criteria is: abs(Un - Un-1) < TolF. | |
| void | Initialize (const Adaptor2d_Curve2d &C, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real TolF) |
| sets the fields of the algorithm. | |
| void | Perform (const gp_Pnt2d &P, const Standard_Real U0) |
| Standard_Boolean | IsDone () const |
| Returns True if the distance is found. | |
| Standard_Real | SquareDistance () const |
| Returns the value of the extremum square distance. | |
| Standard_Boolean | IsMin () const |
| Returns True if the extremum distance is a minimum. | |
| const Extrema_POnCurv2d & | Point () const |
| Returns the point of the extremum distance. | |
| Extrema_LocateExtPC2d::Extrema_LocateExtPC2d | ( | ) |
| Extrema_LocateExtPC2d::Extrema_LocateExtPC2d | ( | const gp_Pnt2d & | P, |
| const Adaptor2d_Curve2d & | C, | ||
| const Standard_Real | U0, | ||
| const Standard_Real | TolF ) |
Calculates the distance with a close point. The close point is defined by the parameter value U0. The function F(u)=distance(P,C(u)) has an extremum when g(u)=dF/du=0. The algorithm searches a zero near the close point. TolF is used to decide to stop the iterations. At the nth iteration, the criteria is: abs(Un - Un-1) < TolF.
| Extrema_LocateExtPC2d::Extrema_LocateExtPC2d | ( | const gp_Pnt2d & | P, |
| const Adaptor2d_Curve2d & | C, | ||
| const Standard_Real | U0, | ||
| const Standard_Real | Umin, | ||
| const Standard_Real | Usup, | ||
| const Standard_Real | TolF ) |
Calculates the distance with a close point. The close point is defined by the parameter value U0. The function F(u)=distance(P,C(u)) has an extremum when g(u)=dF/du=0. The algorithm searches a zero near the close point. Zeros are searched between Umin et Usup. TolF is used to decide to stop the iterations. At the nth iteration, the criteria is: abs(Un - Un-1) < TolF.
| void Extrema_LocateExtPC2d::Initialize | ( | const Adaptor2d_Curve2d & | C, |
| const Standard_Real | Umin, | ||
| const Standard_Real | Usup, | ||
| const Standard_Real | TolF ) |
sets the fields of the algorithm.
| Standard_Boolean Extrema_LocateExtPC2d::IsDone | ( | ) | const |
Returns True if the distance is found.
| Standard_Boolean Extrema_LocateExtPC2d::IsMin | ( | ) | const |
Returns True if the extremum distance is a minimum.
| void Extrema_LocateExtPC2d::Perform | ( | const gp_Pnt2d & | P, |
| const Standard_Real | U0 ) |
| const Extrema_POnCurv2d & Extrema_LocateExtPC2d::Point | ( | ) | const |
Returns the point of the extremum distance.
| Standard_Real Extrema_LocateExtPC2d::SquareDistance | ( | ) | const |
Returns the value of the extremum square distance.