Open CASCADE Technology  7.5.0.beta
Public Member Functions
Geom2dGcc_Lin2d2TanIter Class Reference

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
 

Detailed Description

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".

Constructor & Destructor Documentation

◆ Geom2dGcc_Lin2d2TanIter() [1/3]

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() [2/3]

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() [3/3]

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.

Member Function Documentation

◆ IsDone()

Standard_Boolean Geom2dGcc_Lin2d2TanIter::IsDone ( ) const

This methode returns true when there is a solution and false in the other cases.

◆ Tangency1()

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.

◆ Tangency2()

void Geom2dGcc_Lin2d2TanIter::Tangency2 ( Standard_Real ParSol,
Standard_Real ParArg,
gp_Pnt2d PntSol 
) const

◆ ThisSolution()

gp_Lin2d Geom2dGcc_Lin2d2TanIter::ThisSolution ( ) const

Returns the solution.

◆ WhichQualifier()

void Geom2dGcc_Lin2d2TanIter::WhichQualifier ( GccEnt_Position Qualif1,
GccEnt_Position Qualif2 
) const

The documentation for this class was generated from the following file: