Open CASCADE Technology
7.5.0
|
This class implements the algorithms used to create 2d lines tangent to 2 other elements which can be circles, curves or points. More than one argument must be a curve. More...
#include <Geom2dGcc_Lin2d2TanIter.hxx>
Public Member Functions | |
Geom2dGcc_Lin2d2TanIter (const Geom2dGcc_QCurve &Qualified1, const gp_Pnt2d &ThePoint, const Standard_Real Param1, const Standard_Real Tolang) | |
This class implements the algorithms used to create 2d lines passing thrue a point and tangent to a curve. Tolang is used to determine the tolerance for the tangency points. Param2 is used for the initial guess on the curve. More... | |
Geom2dGcc_Lin2d2TanIter (const GccEnt_QualifiedCirc &Qualified1, const Geom2dGcc_QCurve &Qualified2, const Standard_Real Param2, const Standard_Real Tolang) | |
This class implements the algorithms used to create 2d line tangent to a circle and to a cuve. Tolang is used to determine the tolerance for the tangency points. Param2 is used for the initial guess on the curve. Exception BadQualifier is raised in the case of EnclosedCirc. More... | |
Geom2dGcc_Lin2d2TanIter (const Geom2dGcc_QCurve &Qualified1, const Geom2dGcc_QCurve &Qualified2, const Standard_Real Param1, const Standard_Real Param2, const Standard_Real Tolang) | |
This class implements the algorithms used to create 2d line tangent to two curves. Tolang is used to determine the tolerance for the tangency points. Param1 is used for the initial guess on the first curve. Param2 is used for the initial guess on the second curve. More... | |
Standard_Boolean | IsDone () const |
This methode returns true when there is a solution and false in the other cases. More... | |
gp_Lin2d | ThisSolution () const |
Returns the solution. More... | |
void | WhichQualifier (GccEnt_Position &Qualif1, GccEnt_Position &Qualif2) const |
void | Tangency1 (Standard_Real &ParSol, Standard_Real &ParArg, gp_Pnt2d &PntSol) const |
Returns informations about the tangency point between the result and the first argument. ParSol is the intrinsic parameter of the point PntSol on the solution curv. ParArg is the intrinsic parameter of the point PntSol on the argument curv. More... | |
void | Tangency2 (Standard_Real &ParSol, Standard_Real &ParArg, gp_Pnt2d &PntSol) const |
This class implements the algorithms used to create 2d lines tangent to 2 other elements which can be circles, curves or points. More than one argument must be a curve.
Note: Some constructors may check the type of the qualified argument and raise BadQualifier Error in case of incorrect couple (qualifier, curv). For example: "EnclosedCirc".
Geom2dGcc_Lin2d2TanIter::Geom2dGcc_Lin2d2TanIter | ( | const Geom2dGcc_QCurve & | Qualified1, |
const gp_Pnt2d & | ThePoint, | ||
const Standard_Real | Param1, | ||
const Standard_Real | Tolang | ||
) |
This class implements the algorithms used to create 2d lines passing thrue a point and tangent to a curve. Tolang is used to determine the tolerance for the tangency points. Param2 is used for the initial guess on the curve.
Geom2dGcc_Lin2d2TanIter::Geom2dGcc_Lin2d2TanIter | ( | const GccEnt_QualifiedCirc & | Qualified1, |
const Geom2dGcc_QCurve & | Qualified2, | ||
const Standard_Real | Param2, | ||
const Standard_Real | Tolang | ||
) |
This class implements the algorithms used to create 2d line tangent to a circle and to a cuve. Tolang is used to determine the tolerance for the tangency points. Param2 is used for the initial guess on the curve. Exception BadQualifier is raised in the case of EnclosedCirc.
Geom2dGcc_Lin2d2TanIter::Geom2dGcc_Lin2d2TanIter | ( | const Geom2dGcc_QCurve & | Qualified1, |
const Geom2dGcc_QCurve & | Qualified2, | ||
const Standard_Real | Param1, | ||
const Standard_Real | Param2, | ||
const Standard_Real | Tolang | ||
) |
This class implements the algorithms used to create 2d line tangent to two curves. Tolang is used to determine the tolerance for the tangency points. Param1 is used for the initial guess on the first curve. Param2 is used for the initial guess on the second curve.
Standard_Boolean Geom2dGcc_Lin2d2TanIter::IsDone | ( | ) | const |
This methode returns true when there is a solution and false in the other cases.
void Geom2dGcc_Lin2d2TanIter::Tangency1 | ( | Standard_Real & | ParSol, |
Standard_Real & | ParArg, | ||
gp_Pnt2d & | PntSol | ||
) | const |
Returns informations about the tangency point between the result and the first argument. ParSol is the intrinsic parameter of the point PntSol on the solution curv. ParArg is the intrinsic parameter of the point PntSol on the argument curv.
void Geom2dGcc_Lin2d2TanIter::Tangency2 | ( | Standard_Real & | ParSol, |
Standard_Real & | ParArg, | ||
gp_Pnt2d & | PntSol | ||
) | const |
gp_Lin2d Geom2dGcc_Lin2d2TanIter::ThisSolution | ( | ) | const |
Returns the solution.
void Geom2dGcc_Lin2d2TanIter::WhichQualifier | ( | GccEnt_Position & | Qualif1, |
GccEnt_Position & | Qualif2 | ||
) | const |