Open CASCADE Technology
7.4.0
|
This class implements the algorithms used to create 2d circles TANgent to 2 entities and having the center ON a curve. The order of the tangency argument is always QualifiedCirc, QualifiedLin, QualifiedCurv, Pnt2d. the arguments are : More...
#include <Geom2dGcc_Circ2d2TanOnGeo.hxx>
Public Member Functions | |
Geom2dGcc_Circ2d2TanOnGeo (const GccEnt_QualifiedCirc &Qualified1, const GccEnt_QualifiedCirc &Qualified2, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Tolerance) | |
This method implements the algorithms used to create 2d circles TANgent to two 2d circles and having the center ON a curve. More... | |
Geom2dGcc_Circ2d2TanOnGeo (const GccEnt_QualifiedCirc &Qualified1, const GccEnt_QualifiedLin &Qualified2, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Tolerance) | |
This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a 2d line having the center ON a curve. More... | |
Geom2dGcc_Circ2d2TanOnGeo (const GccEnt_QualifiedCirc &Qualified1, const gp_Pnt2d &Point2, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Tolerance) | |
This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a point having the center ON a curve. More... | |
Geom2dGcc_Circ2d2TanOnGeo (const GccEnt_QualifiedLin &Qualified1, const GccEnt_QualifiedLin &Qualified2, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Tolerance) | |
This method implements the algorithms used to create 2d circles TANgent to two 2d lines having the center ON a curve. More... | |
Geom2dGcc_Circ2d2TanOnGeo (const GccEnt_QualifiedLin &Qualified1, const gp_Pnt2d &Qualified2, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Tolerance) | |
This method implements the algorithms used to create 2d circles TANgent to a 2d line and a point having the center ON a 2d line. More... | |
Geom2dGcc_Circ2d2TanOnGeo (const gp_Pnt2d &Point1, const gp_Pnt2d &Point2, const Geom2dAdaptor_Curve &OnCurv, const Standard_Real Tolerance) | |
This method implements the algorithms used to create 2d circles TANgent to two points having the center ON a 2d line. 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 those 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, GccEnt_Position &Qualif2) const |
It returns the informations about the qualifiers of the tangency arguments concerning the solution number Index. It returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). More... | |
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 | Tangency2 (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 second 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... | |
Standard_Boolean | IsTheSame2 (const Standard_Integer Index) const |
Returns True if the solution number Index is equal to the second 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... | |
This class implements the algorithms used to create 2d circles TANgent to 2 entities and having the center ON a curve. The order of the tangency argument is always QualifiedCirc, QualifiedLin, QualifiedCurv, Pnt2d. the arguments are :
Geom2dGcc_Circ2d2TanOnGeo::Geom2dGcc_Circ2d2TanOnGeo | ( | const GccEnt_QualifiedCirc & | Qualified1, |
const GccEnt_QualifiedCirc & | Qualified2, | ||
const Geom2dAdaptor_Curve & | OnCurv, | ||
const Standard_Real | Tolerance | ||
) |
This method implements the algorithms used to create 2d circles TANgent to two 2d circles and having the center ON a curve.
Geom2dGcc_Circ2d2TanOnGeo::Geom2dGcc_Circ2d2TanOnGeo | ( | const GccEnt_QualifiedCirc & | Qualified1, |
const GccEnt_QualifiedLin & | Qualified2, | ||
const Geom2dAdaptor_Curve & | OnCurv, | ||
const Standard_Real | Tolerance | ||
) |
This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a 2d line having the center ON a curve.
Geom2dGcc_Circ2d2TanOnGeo::Geom2dGcc_Circ2d2TanOnGeo | ( | const GccEnt_QualifiedCirc & | Qualified1, |
const gp_Pnt2d & | Point2, | ||
const Geom2dAdaptor_Curve & | OnCurv, | ||
const Standard_Real | Tolerance | ||
) |
This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a point having the center ON a curve.
Geom2dGcc_Circ2d2TanOnGeo::Geom2dGcc_Circ2d2TanOnGeo | ( | const GccEnt_QualifiedLin & | Qualified1, |
const GccEnt_QualifiedLin & | Qualified2, | ||
const Geom2dAdaptor_Curve & | OnCurv, | ||
const Standard_Real | Tolerance | ||
) |
This method implements the algorithms used to create 2d circles TANgent to two 2d lines having the center ON a curve.
Geom2dGcc_Circ2d2TanOnGeo::Geom2dGcc_Circ2d2TanOnGeo | ( | const GccEnt_QualifiedLin & | Qualified1, |
const gp_Pnt2d & | Qualified2, | ||
const Geom2dAdaptor_Curve & | OnCurv, | ||
const Standard_Real | Tolerance | ||
) |
This method implements the algorithms used to create 2d circles TANgent to a 2d line and a point having the center ON a 2d line.
Geom2dGcc_Circ2d2TanOnGeo::Geom2dGcc_Circ2d2TanOnGeo | ( | const gp_Pnt2d & | Point1, |
const gp_Pnt2d & | Point2, | ||
const Geom2dAdaptor_Curve & | OnCurv, | ||
const Standard_Real | Tolerance | ||
) |
This method implements the algorithms used to create 2d circles TANgent to two points having the center ON a 2d line.
void Geom2dGcc_Circ2d2TanOnGeo::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_Circ2d2TanOnGeo::IsDone | ( | ) | const |
This method returns True if the construction algorithm succeeded.
Standard_Boolean Geom2dGcc_Circ2d2TanOnGeo::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_Boolean Geom2dGcc_Circ2d2TanOnGeo::IsTheSame2 | ( | const Standard_Integer | Index | ) | const |
Returns True if the solution number Index is equal to the second 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_Circ2d2TanOnGeo::NbSolutions | ( | ) | const |
This method returns the number of solutions. It raises NotDone if the construction algorithm didn't succeed.
void Geom2dGcc_Circ2d2TanOnGeo::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.
void Geom2dGcc_Circ2d2TanOnGeo::Tangency2 | ( | 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 second 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_Circ2d2TanOnGeo::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 those 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_Circ2d2TanOnGeo::WhichQualifier | ( | const Standard_Integer | Index, |
GccEnt_Position & | Qualif1, | ||
GccEnt_Position & | Qualif2 | ||
) | const |
It returns the informations about the qualifiers of the tangency arguments concerning the solution number Index. It returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified).