Open CASCADE Technology
7.5.0.beta

This class implements the algorithms used to create 2d circles tangent to 3 points/lines/circles. The arguments of all construction methods are : More...
#include <GccAna_Circ2d3Tan.hxx>
Public Member Functions  
GccAna_Circ2d3Tan (const GccEnt_QualifiedCirc &Qualified1, const GccEnt_QualifiedCirc &Qualified2, const GccEnt_QualifiedCirc &Qualified3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to 3 circles. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const GccEnt_QualifiedCirc &Qualified1, const GccEnt_QualifiedCirc &Qualified2, const GccEnt_QualifiedLin &Qualified3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to 2 circles and 1 line. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const GccEnt_QualifiedCirc &Qualified1, const GccEnt_QualifiedLin &Qualified2, const GccEnt_QualifiedLin &Qualified3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to 1 circle and 2 lines. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const GccEnt_QualifiedLin &Qualified1, const GccEnt_QualifiedLin &Qualified2, const GccEnt_QualifiedLin &Qualified3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to 3 lines. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const GccEnt_QualifiedCirc &Qualified1, const GccEnt_QualifiedCirc &Qualified2, const gp_Pnt2d &Point3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to 2 circles and 1 Point. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const GccEnt_QualifiedCirc &Qualified1, const GccEnt_QualifiedLin &Qualified2, const gp_Pnt2d &Point3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to a circle and a line and 1 Point. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const GccEnt_QualifiedLin &Qualified1, const GccEnt_QualifiedLin &Qualified2, const gp_Pnt2d &Point3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to 2 lines and 1 Point. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const GccEnt_QualifiedCirc &Qualified1, const gp_Pnt2d &Point2, const gp_Pnt2d &Point3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to a circle and passing thrue 2 Points. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const GccEnt_QualifiedLin &Qualified1, const gp_Pnt2d &Point2, const gp_Pnt2d &Point3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles tangent to a line and passing thrue 2 Points. ConstructionError is raised if there is a problem during the computation. More...  
GccAna_Circ2d3Tan (const gp_Pnt2d &Point1, const gp_Pnt2d &Point2, const gp_Pnt2d &Point3, const Standard_Real Tolerance)  
This method implements the algorithms used to create 2d circles passing thrue 3 Points. ConstructionError is raised if there is a problem during the computation. More...  
Standard_Boolean  IsDone () const 
This method returns True if the construction algorithm succeeded. Note: IsDone protects against a failure arising from a more internal intersection algorithm, which has reached its numeric limits. More...  
Standard_Integer  NbSolutions () const 
This method returns the number of solutions. 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 algorithmobject. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed. More...  
void  WhichQualifier (const Standard_Integer Index, GccEnt_Position &Qualif1, GccEnt_Position &Qualif2, GccEnt_Position &Qualif3) const 
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 PntSol on the solution curv. ParArg is the intrinsic parameter of the point PntArg on the argument curv. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed. 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 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. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed. More...  
void  Tangency3 (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 Pntsol on the argument curv. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed. More...  
Standard_Boolean  IsTheSame1 (const Standard_Integer Index) const 
Returns True if the solution number Index is equal to the first argument. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed. More...  
Standard_Boolean  IsTheSame2 (const Standard_Integer Index) const 
Returns True if the solution number Index is equal to the second argument. Raises OutOfRange Index is greater than the number of solutions. It raises NotDone if the algorithm failed. More...  
Standard_Boolean  IsTheSame3 (const Standard_Integer Index) const 
Returns True if the solution number Index is equal to the third argument. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed. More...  
This class implements the algorithms used to create 2d circles tangent to 3 points/lines/circles. The arguments of all construction methods are :
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedCirc &  Qualified1, 
const GccEnt_QualifiedCirc &  Qualified2,  
const GccEnt_QualifiedCirc &  Qualified3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to 3 circles. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedCirc &  Qualified1, 
const GccEnt_QualifiedCirc &  Qualified2,  
const GccEnt_QualifiedLin &  Qualified3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to 2 circles and 1 line. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedCirc &  Qualified1, 
const GccEnt_QualifiedLin &  Qualified2,  
const GccEnt_QualifiedLin &  Qualified3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to 1 circle and 2 lines. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedLin &  Qualified1, 
const GccEnt_QualifiedLin &  Qualified2,  
const GccEnt_QualifiedLin &  Qualified3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to 3 lines. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedCirc &  Qualified1, 
const GccEnt_QualifiedCirc &  Qualified2,  
const gp_Pnt2d &  Point3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to 2 circles and 1 Point. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedCirc &  Qualified1, 
const GccEnt_QualifiedLin &  Qualified2,  
const gp_Pnt2d &  Point3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to a circle and a line and 1 Point. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedLin &  Qualified1, 
const GccEnt_QualifiedLin &  Qualified2,  
const gp_Pnt2d &  Point3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to 2 lines and 1 Point. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedCirc &  Qualified1, 
const gp_Pnt2d &  Point2,  
const gp_Pnt2d &  Point3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to a circle and passing thrue 2 Points. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const GccEnt_QualifiedLin &  Qualified1, 
const gp_Pnt2d &  Point2,  
const gp_Pnt2d &  Point3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles tangent to a line and passing thrue 2 Points. ConstructionError is raised if there is a problem during the computation.
GccAna_Circ2d3Tan::GccAna_Circ2d3Tan  (  const gp_Pnt2d &  Point1, 
const gp_Pnt2d &  Point2,  
const gp_Pnt2d &  Point3,  
const Standard_Real  Tolerance  
) 
This method implements the algorithms used to create 2d circles passing thrue 3 Points. ConstructionError is raised if there is a problem during the computation.
Standard_Boolean GccAna_Circ2d3Tan::IsDone  (  )  const 
This method returns True if the construction algorithm succeeded. Note: IsDone protects against a failure arising from a more internal intersection algorithm, which has reached its numeric limits.
Standard_Boolean GccAna_Circ2d3Tan::IsTheSame1  (  const Standard_Integer  Index  )  const 
Returns True if the solution number Index is equal to the first argument. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed.
Standard_Boolean GccAna_Circ2d3Tan::IsTheSame2  (  const Standard_Integer  Index  )  const 
Returns True if the solution number Index is equal to the second argument. Raises OutOfRange Index is greater than the number of solutions. It raises NotDone if the algorithm failed.
Standard_Boolean GccAna_Circ2d3Tan::IsTheSame3  (  const Standard_Integer  Index  )  const 
Returns True if the solution number Index is equal to the third argument. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed.
Standard_Integer GccAna_Circ2d3Tan::NbSolutions  (  )  const 
This method returns the number of solutions. Raises NotDone if the construction algorithm didn't succeed.
void GccAna_Circ2d3Tan::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. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed.
void GccAna_Circ2d3Tan::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 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. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed.
void GccAna_Circ2d3Tan::Tangency3  (  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 Pntsol on the argument curv. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed.
gp_Circ2d GccAna_Circ2d3Tan::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 algorithmobject. Raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the algorithm failed.
void GccAna_Circ2d3Tan::WhichQualifier  (  const Standard_Integer  Index, 
GccEnt_Position &  Qualif1,  
GccEnt_Position &  Qualif2,  
GccEnt_Position &  Qualif3  
)  const 
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).