Open CASCADE Technology  7.5.0
Public Member Functions

Geom2dGcc_Circ2dTanCenGeo Class Reference

This class implements the algorithms used to create 2d circles tangent to a curve and centered on a point. The arguments of all construction methods are : More...

#include <Geom2dGcc_Circ2dTanCenGeo.hxx>

Public Member Functions

 Geom2dGcc_Circ2dTanCenGeo (const Geom2dGcc_QCurve &Qualified1, const gp_Pnt2d &Pcenter, const Standard_Real Tolerance)
 This method implements the algorithms used to create 2d circles tangent to a circle and centered on a point. More...
 
Standard_Boolean IsDone () const
 This method returns True if the construction algorithm succeeded. More...
 
Standard_Integer NbSolutions () const
 Returns the number of solutions and raises NotDone exception if the algorithm didn't succeed. It raises NotDone if the construction algorithm didn't succeed. More...
 
gp_Circ2d ThisSolution (const Standard_Integer Index) const
 Returns the solution number Index and raises OutOfRange exception if Index is greater than the number of solutions. Be carefull: the Index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. It raises NotDone if the construction algorithm didn't succeed. It raises OutOfRange if Index is greater than the number of solutions or less than zero. More...
 
void WhichQualifier (const Standard_Integer Index, GccEnt_Position &Qualif1) const
 
void Tangency1 (const Standard_Integer Index, Standard_Real &ParSol, Standard_Real &ParArg, gp_Pnt2d &PntSol) const
 Returns informations about the tangency point between the result number Index 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 PntArg on the argument curv. It raises NotDone if the construction algorithm didn't succeed. It raises OutOfRange if Index is greater than the number of solutions or less than zero. More...
 

Detailed Description

This class implements the algorithms used to create 2d circles tangent to a curve and centered on a point. The arguments of all construction methods are :

Constructor & Destructor Documentation

◆ Geom2dGcc_Circ2dTanCenGeo()

Geom2dGcc_Circ2dTanCenGeo::Geom2dGcc_Circ2dTanCenGeo ( const Geom2dGcc_QCurve Qualified1,
const gp_Pnt2d Pcenter,
const Standard_Real  Tolerance 
)

This method implements the algorithms used to create 2d circles tangent to a circle and centered on a point.

Member Function Documentation

◆ IsDone()

Standard_Boolean Geom2dGcc_Circ2dTanCenGeo::IsDone ( ) const

This method returns True if the construction algorithm succeeded.

◆ NbSolutions()

Standard_Integer Geom2dGcc_Circ2dTanCenGeo::NbSolutions ( ) const

Returns the number of solutions and raises NotDone exception if the algorithm didn't succeed. It raises NotDone if the construction algorithm didn't succeed.

◆ Tangency1()

void Geom2dGcc_Circ2dTanCenGeo::Tangency1 ( const Standard_Integer  Index,
Standard_Real ParSol,
Standard_Real ParArg,
gp_Pnt2d PntSol 
) const

Returns informations about the tangency point between the result number Index 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 PntArg on the argument curv. It raises NotDone if the construction algorithm didn't succeed. It raises OutOfRange if Index is greater than the number of solutions or less than zero.

◆ ThisSolution()

gp_Circ2d Geom2dGcc_Circ2dTanCenGeo::ThisSolution ( const Standard_Integer  Index) const

Returns the solution number Index and raises OutOfRange exception if Index is greater than the number of solutions. Be carefull: the Index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. It raises NotDone if the construction algorithm didn't succeed. It raises OutOfRange if Index is greater than the number of solutions or less than zero.

◆ WhichQualifier()

void Geom2dGcc_Circ2dTanCenGeo::WhichQualifier ( const Standard_Integer  Index,
GccEnt_Position Qualif1 
) const

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