![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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 double Tolerance) | |
| This method implements the algorithms used to create 2d circles tangent to a circle and centered on a point. | |
| bool | IsDone () const |
| This method returns True if the construction algorithm succeeded. | |
| int | 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. | |
| gp_Circ2d | ThisSolution (const int 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 these 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. | |
| void | WhichQualifier (const int Index, GccEnt_Position &Qualif1) const |
| void | Tangency1 (const int Index, double &ParSol, double &ParArg, gp_Pnt2d &PntSol) const |
| Returns information 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. | |
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 :
| Geom2dGcc_Circ2dTanCenGeo::Geom2dGcc_Circ2dTanCenGeo | ( | const Geom2dGcc_QCurve & | Qualified1, |
| const gp_Pnt2d & | Pcenter, | ||
| const double | Tolerance ) |
This method implements the algorithms used to create 2d circles tangent to a circle and centered on a point.
| bool Geom2dGcc_Circ2dTanCenGeo::IsDone | ( | ) | const |
This method returns True if the construction algorithm succeeded.
| int 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.
| void Geom2dGcc_Circ2dTanCenGeo::Tangency1 | ( | const int | Index, |
| double & | ParSol, | ||
| double & | ParArg, | ||
| gp_Pnt2d & | PntSol ) const |
Returns information 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.
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 these 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.
| void Geom2dGcc_Circ2dTanCenGeo::WhichQualifier | ( | const int | Index, |
| GccEnt_Position & | Qualif1 ) const |