Open CASCADE Technology  6.9.0
Public Member Functions

Geom2dGcc_Circ2dTanOnRadGeo Class Reference

This class implements the algorithms used to create a 2d circle tangent to a 2d entity, centered on a 2d entity and with a given radius. More than one argument must be a curve. The arguments of all construction methods are : More...

#include <Geom2dGcc_Circ2dTanOnRadGeo.hxx>

Public Member Functions

 Geom2dGcc_Circ2dTanOnRadGeo (const Geom2dGcc_QCurve &Qualified1, const gp_Lin2d &OnLine, const Standard_Real Radius, const Standard_Real Tolerance)
 This methods implements the algorithms used to create 2d Circles tangent to a curve and centered on a 2d Line with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius. More...
 
 Geom2dGcc_Circ2dTanOnRadGeo (const Geom2dGcc_QCurve &Qualified1, const gp_Circ2d &OnCirc, const Standard_Real Radius, const Standard_Real Tolerance)
 This methods implements the algorithms used to create 2d Circles tangent to a curve and centered on a 2d Circle with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius. More...
 
 Geom2dGcc_Circ2dTanOnRadGeo (const GccEnt_QualifiedCirc &Qualified1, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Radius, const Standard_Real Tolerance)
 This methods implements the algorithms used to create 2d Circles tangent to a circle and centered on a 2d curve with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius. More...
 
 Geom2dGcc_Circ2dTanOnRadGeo (const GccEnt_QualifiedLin &Qualified1, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Radius, const Standard_Real Tolerance)
 This methods implements the algorithms used to create 2d Circles tangent to a 2d Line and centered on a 2d curve with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius. More...
 
 Geom2dGcc_Circ2dTanOnRadGeo (const Geom2dGcc_QCurve &Qualified1, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Radius, const Standard_Real Tolerance)
 This methods implements the algorithms used to create 2d Circles tangent to a 2d curve and centered on a 2d curve with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius. More...
 
 Geom2dGcc_Circ2dTanOnRadGeo (const gp_Pnt2d &Point1, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Radius, const Standard_Real Tolerance)
 This methods implements the algorithms used to create 2d Circles passing through a 2d point and centered on a 2d curve with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius. More...
 
Standard_Boolean IsDone () const
 This method returns True if the construction algorithm succeeded. More...
 
Standard_Integer NbSolutions () const
 This method returns the number of solutions. 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 careful: 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. 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 on the solution curv. ParArg is the intrinsic parameter of the point on the argument curv. PntSol is the tangency point on the solution curv. PntArg is the tangency point 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. More...
 
void CenterOn3 (const Standard_Integer Index, Standard_Real &ParArg, gp_Pnt2d &PntSol) const
 Returns informations about the center (on the curv) of the result. ParArg is the intrinsic parameter of the point on the argument curv. PntSol is the center point of the solution curv. It raises NotDone if the construction algorithm didn't succeed. It raises OutOfRange if Index is greater than the number of solutions. More...
 
Standard_Boolean IsTheSame1 (const Standard_Integer Index) const
 Returns True if the solution number Index is equal to the first argument and False in the other cases. It raises NotDone if the construction algorithm didn't succeed. It raises OutOfRange if Index is greater than the number of solutions. More...
 

Detailed Description

This class implements the algorithms used to create a 2d circle tangent to a 2d entity, centered on a 2d entity and with a given radius. More than one argument must be a curve. The arguments of all construction methods are :

Constructor & Destructor Documentation

Geom2dGcc_Circ2dTanOnRadGeo::Geom2dGcc_Circ2dTanOnRadGeo ( const Geom2dGcc_QCurve Qualified1,
const gp_Lin2d OnLine,
const Standard_Real  Radius,
const Standard_Real  Tolerance 
)

This methods implements the algorithms used to create 2d Circles tangent to a curve and centered on a 2d Line with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius.

Geom2dGcc_Circ2dTanOnRadGeo::Geom2dGcc_Circ2dTanOnRadGeo ( const Geom2dGcc_QCurve Qualified1,
const gp_Circ2d OnCirc,
const Standard_Real  Radius,
const Standard_Real  Tolerance 
)

This methods implements the algorithms used to create 2d Circles tangent to a curve and centered on a 2d Circle with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius.

Geom2dGcc_Circ2dTanOnRadGeo::Geom2dGcc_Circ2dTanOnRadGeo ( const GccEnt_QualifiedCirc Qualified1,
const Geom2dAdaptor_Curve OnCurv,
const Standard_Real  Radius,
const Standard_Real  Tolerance 
)

This methods implements the algorithms used to create 2d Circles tangent to a circle and centered on a 2d curve with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius.

Geom2dGcc_Circ2dTanOnRadGeo::Geom2dGcc_Circ2dTanOnRadGeo ( const GccEnt_QualifiedLin Qualified1,
const Geom2dAdaptor_Curve OnCurv,
const Standard_Real  Radius,
const Standard_Real  Tolerance 
)

This methods implements the algorithms used to create 2d Circles tangent to a 2d Line and centered on a 2d curve with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius.

Geom2dGcc_Circ2dTanOnRadGeo::Geom2dGcc_Circ2dTanOnRadGeo ( const Geom2dGcc_QCurve Qualified1,
const Geom2dAdaptor_Curve OnCurv,
const Standard_Real  Radius,
const Standard_Real  Tolerance 
)

This methods implements the algorithms used to create 2d Circles tangent to a 2d curve and centered on a 2d curve with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius.

Geom2dGcc_Circ2dTanOnRadGeo::Geom2dGcc_Circ2dTanOnRadGeo ( const gp_Pnt2d Point1,
const Geom2dAdaptor_Curve OnCurv,
const Standard_Real  Radius,
const Standard_Real  Tolerance 
)

This methods implements the algorithms used to create 2d Circles passing through a 2d point and centered on a 2d curve with a given radius. Tolerance is used to find solution in every limit cases. raises NegativeValue in case of NegativeRadius.

Member Function Documentation

void Geom2dGcc_Circ2dTanOnRadGeo::CenterOn3 ( const Standard_Integer  Index,
Standard_Real ParArg,
gp_Pnt2d PntSol 
) const

Returns informations about the center (on the curv) of the result. ParArg is the intrinsic parameter of the point on the argument curv. PntSol is the center point of the solution curv. It raises NotDone if the construction algorithm didn't succeed. It raises OutOfRange if Index is greater than the number of solutions.

Standard_Boolean Geom2dGcc_Circ2dTanOnRadGeo::IsDone ( ) const

This method returns True if the construction algorithm succeeded.

Standard_Boolean Geom2dGcc_Circ2dTanOnRadGeo::IsTheSame1 ( const Standard_Integer  Index) const

Returns True if the solution number Index is equal to the first argument and False in the other cases. It raises NotDone if the construction algorithm didn't succeed. It raises OutOfRange if Index is greater than the number of solutions.

Standard_Integer Geom2dGcc_Circ2dTanOnRadGeo::NbSolutions ( ) const

This method returns the number of solutions. It raises NotDone if the construction algorithm didn't succeed.

void Geom2dGcc_Circ2dTanOnRadGeo::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 on the solution curv. ParArg is the intrinsic parameter of the point on the argument curv. PntSol is the tangency point on the solution curv. PntArg is the tangency point 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.

gp_Circ2d Geom2dGcc_Circ2dTanOnRadGeo::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 careful: 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.

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

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