# OCC.Geom2dGcc module

class `Geom2dGcc_Circ2d2TanOn`(*args)

  Bases: `object`

  - This method implements the algorithms used to create 2d circles TANgent to two curves and having the center ON a 2d curve. Param1 is the initial guess on the first curve QualifiedCurv. Param1 is the initial guess on the second curve QualifiedCurv. ParamOn is the initial guess on the center curve OnCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Qualified2 (Geom2dGcc_QualifiedCurve &) – OnCurve (Geom2dAdaptor_Curve &) – Tolerance (float) – Param1 (float) – Param2 (float) – ParamOn (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to one curve and one point and having the center ON a 2d curve. Param1 is the initial guess on the first curve QualifiedCurv. ParamOn is the initial guess on the center curve OnCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Point (Handle_Geom2d_Point &) – OnCurve (Geom2dAdaptor_Curve &) – Tolerance (float) – Param1 (float) – ParamOn (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to two points and having the center ON a 2d curve. Tolerance is used for the limit cases.

  Parameters: | Point1 (Handle_Geom2d_Point &) – Point2 (Handle_Geom2d_Point &) – OnCurve (Geom2dAdaptor_Curve &) – Tolerance (float) –
  Return type: | None

  `CenterOn3`()
    - Returns the center PntSol of the solution of index Index computed by this algorithm. ParArg is the parameter of the point PntSol on the third argument. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `IsDone`()
    - Returns true if the construction algorithm does not fail (even if it finds no solution). Note: IsDone protects against a failure arising from a more internal intersection algorithm, which has reached its numeric limits.

    Return type: | bool

  `IsTheSame1`()
    - Returns true if the solution of index Index and, respectively, the first or second argument of this algorithm are the same (i.e. there are 2 identical circles). If Rarg is the radius of the first or second argument, Rsol is the radius of the solution and dist is the distance between the two centers, we consider the two circles to be identical if |Rarg - Rsol| and dist are less than or equal to the tolerance criterion given at the time of construction of this algorithm. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) –
    Return type: | bool

  `IsTheSame2`()
    - Returns true if the solution of index Index and, respectively, the first or second argument of this algorithm are the same (i.e. there are 2 identical circles). If Rarg is the radius of the first or second argument, Rsol is the radius of the solution and dist is the distance between the two centers, we consider the two circles to be identical if |Rarg - Rsol| and dist are less than or equal to the tolerance criterion given at the time of construction of this algorithm. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) –
    Return type: | bool

  `NbSolutions`()
    - This method returns the number of solutions. NotDone is raised if the algorithm failed.

    Return type: | int

  `Results`()

    Parameters: | Circ (Geom2dGcc_Circ2d2TanOnGeo &) – Circ –
    Return type: | None
    Return type: | None

  `Tangency1`()
    - Returns informations about the tangency point between the result 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()
    - Returns informations about the tangency point between the result and the second 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - 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. Exceptions Standard_OutOfRange if Index is less than or equal to zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()
    - 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). Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2d2TanOnGeo`(*args)

  Bases: `object`

  - This method implements the algorithms used to create 2d circles TANgent to two 2d circles and having the center ON a curve.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (GccEnt_QualifiedCirc &) – OnCurv (Geom2dAdaptor_Curve &) – Tolerance (float) –
  Return type: | None

  - 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.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (GccEnt_QualifiedLin &) – OnCurv (Geom2dAdaptor_Curve &) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a point having the center ON a curve.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Point2 (gp_Pnt2d) – OnCurv (Geom2dAdaptor_Curve &) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to two 2d lines having the center ON a curve.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (GccEnt_QualifiedLin &) – OnCurv (Geom2dAdaptor_Curve &) – Tolerance (float) –
  Return type: | None

  - 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.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (gp_Pnt2d) – OnCurv (Geom2dAdaptor_Curve &) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to two points having the center ON a 2d line.

  Parameters: | Point1 (gp_Pnt2d) – Point2 (gp_Pnt2d) – OnCurv (Geom2dAdaptor_Curve &) – Tolerance (float) –
  Return type: | None

  `CenterOn3`()
    - 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.

    Parameters: | Index (int) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `IsDone`()
    - This method returns True if the construction algorithm succeeded.

    Return type: | bool

  `IsTheSame1`()
    - 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.

    Parameters: | Index (int) –
    Return type: | bool

  `IsTheSame2`()
    - 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.

    Parameters: | Index (int) –
    Return type: | bool

  `NbSolutions`()
    - This method returns the number of solutions. It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | int

  `Tangency1`()
    - 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()
    - 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - 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.

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()
    - 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).

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2d2TanOnIter`(*args)

  Bases: `object`

  - This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a curve and having the center ON a 2d line. Param2 is the initial guess on the curve QualifiedCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (Geom2dGcc_QCurve &) – OnLine (gp_Lin2d) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d line and a curve and having the center ON a 2d line. Param2 is the initial guess on the curve QualifiedCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (Geom2dGcc_QCurve &) – OnLine (gp_Lin2d) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to two curves and having the center ON a 2d line. Param1 is the initial guess on the first QualifiedCurv. Param2 is the initial guess on the first QualifiedCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Qualified2 (Geom2dGcc_QCurve &) – OnLine (gp_Lin2d) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d point and a curve and having the center ON a 2d line. Param2 is the initial guess on the curve QualifiedCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Point2 (gp_Pnt2d) – OnLine (gp_Lin2d) – Param1 (float) – Param2 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a curve and having the center ON a 2d circle. Param2 is the initial guess on the curve QualifiedCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (Geom2dGcc_QCurve &) – OnCirc (gp_Circ2d) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d line and a curve and having the center ON a 2d circle. Param2 is the initial guess on the curve QualifiedCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (Geom2dGcc_QCurve &) – OnCirc (gp_Circ2d) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to two curves and having the center ON a 2d circle. Param1 is the initial guess on the first QualifiedCurv. Param2 is the initial guess on the first QualifiedCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Qualified2 (Geom2dGcc_QCurve &) – OnCirc (gp_Circ2d) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d point and a curve and having the center ON a 2d circle. Param2 is the initial guess on the curve QualifiedCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Point2 (gp_Pnt2d) – OnCirc (gp_Circ2d) – Param1 (float) – Param2 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a curve and having the center ON a 2d curve. Param2 is the initial guess on the curve QualifiedCurv. ParamOn is the initial guess on the center curve OnCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (Geom2dGcc_QCurve &) – OnCurv (Geom2dAdaptor_Curve &) – Param1 (float) – Param2 (float) – ParamOn (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d line and a curve and having the center ON a 2d curve. Param2 is the initial guess on the curve QualifiedCurv. ParamOn is the initial guess on the center curve OnCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (Geom2dGcc_QCurve &) – OnCurve (Geom2dAdaptor_Curve &) – Param1 (float) – Param2 (float) – ParamOn (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d Point and a curve and having the center ON a 2d curve. Param1 is the initial guess on the curve QualifiedCurv. ParamOn is the initial guess on the center curve OnCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Point2 (gp_Pnt2d) – OnCurve (Geom2dAdaptor_Curve &) – Param1 (float) – ParamOn (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to two curves and having the center ON a 2d curve. Param1 is the initial guess on the first curve QualifiedCurv. Param1 is the initial guess on the second curve QualifiedCurv. ParamOn is the initial guess on the center curve OnCurv. Tolerance is used for the limit cases.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Qualified2 (Geom2dGcc_QCurve &) – OnCurve (Geom2dAdaptor_Curve &) – Param1 (float) – Param2 (float) – ParamOn (float) – Tolerance (float) –
  Return type: | None

  `CenterOn3`()
    - Returns information about the center (on the curv) of the result and the third argument. It raises NotDone if the construction algorithm didn’t succeed.

    Parameters: | ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `IsDone`()
    - This method returns True if the construction algorithm succeeded.

    Return type: | bool

  `IsTheSame1`()
    - It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | bool

  `IsTheSame2`()
    - It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | bool

  `Tangency1`()
    - Returns information about the tangency point between the result 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. It raises NotDone if the construction algorithm didn’t succeed.

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()
    - Returns information about the tangency point between the result and the second 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. It raises NotDone if the construction algorithm didn’t succeed.

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - Returns the solution. It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | gp_Circ2d

  `WhichQualifier`()

    Parameters: | Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2d2TanRad`(*args)

  Bases: `object`

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Qualified2 (Geom2dGcc_QualifiedCurve &) – Radius (float) – Tolerance (float) – Qualified1 – Point (Handle_Geom2d_Point &) – Radius – Tolerance –
  Return type: | None
  Return type: | None

  - These constructors create one or more 2D circles of radius Radius either - tangential to the 2 curves Qualified1 and Qualified2, or - tangential to the curve Qualified1 and passing through the point Point, or - passing through two points Point1 and Point2. Tolerance is a tolerance criterion used by the algorithm to find a solution when, mathematically, the problem posed does not have a solution, but where there is numeric uncertainty attached to the arguments. For example, take two circles C1 and C2, such that C2 is inside C1, and almost tangential to C1. There is, in fact, no point of intersection between C1 and C2. You now want to find a circle of radius R (smaller than the radius of C2), which is tangential to C1 and C2, and inside these two circles: a pure mathematical resolution will not find a solution. This is where the tolerance criterion is used: the algorithm considers that C1 and C2 are tangential if the shortest distance between these two circles is less than or equal to Tolerance. Thus, a solution is found by the algorithm. Exceptions GccEnt_BadQualifier if a qualifier is inconsistent with the argument it qualifies (for example, enclosing for a line). Standard_NegativeValue if Radius is negative.

  Parameters: | Point1 (Handle_Geom2d_Point &) – Point2 (Handle_Geom2d_Point &) – Radius (float) – Tolerance (float) –
  Return type: | None

  `IsDone`()
    - This method returns True if the algorithm succeeded. Note: IsDone protects against a failure arising from a more internal intersection algorithm, which has reached its numeric limits.

    Return type: | bool

  `IsTheSame1`()
    - Returns true if the solution of index Index and, respectively, the first or second argument of this algorithm are the same (i.e. there are 2 identical circles). If Rarg is the radius of the first or second argument, Rsol is the radius of the solution and dist is the distance between the two centers, we consider the two circles to be identical if |Rarg - Rsol| and dist are less than or equal to the tolerance criterion given at the time of construction of this algorithm. OutOfRange is raised if Index is greater than the number of solutions. notDone is raised if the construction algorithm did not succeed.

    Parameters: | Index (int) –
    Return type: | bool

  `IsTheSame2`()
    - Returns true if the solution of index Index and, respectively, the first or second argument of this algorithm are the same (i.e. there are 2 identical circles). If Rarg is the radius of the first or second argument, Rsol is the radius of the solution and dist is the distance between the two centers, we consider the two circles to be identical if |Rarg - Rsol| and dist are less than or equal to the tolerance criterion given at the time of construction of this algorithm. OutOfRange is raised if Index is greater than the number of solutions. notDone is raised if the construction algorithm did not succeed.

    Parameters: | Index (int) –
    Return type: | bool

  `NbSolutions`()
    - This method returns the number of solutions. NotDone is raised if the algorithm failed. Exceptions StdFail_NotDone if the construction fails.

    Return type: | int

  `Results`()

    Parameters: | Circ (Geom2dGcc_Circ2d2TanRadGeo &) – Circ –
    Return type: | None
    Return type: | None

  `Tangency1`()
    - 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. OutOfRange is raised if Index is greater than the number of solutions. notDone is raised if the construction algorithm did not succeed.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()
    - Returns informations about the tangency point between the result number Index and the second 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. OutOfRange is raised if Index is greater than the number of solutions. notDone is raised if the construction algorithm did not succeed.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - 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. Warning This indexing simply provides a means of consulting the solutions. The index values are not associated with these solutions outside the context of the algorithm object. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()
    - Returns the qualifiers Qualif1 and Qualif2 of the tangency arguments for the solution of index Index computed by this algorithm. The returned qualifiers are: - those specified at the start of construction when the solutions are defined as enclosed, enclosing or outside with respect to the arguments, or - those computed during construction (i.e. enclosed, enclosing or outside) when the solutions are defined as unqualified with respect to the arguments, or - GccEnt_noqualifier if the tangency argument is a point, or - GccEnt_unqualified in certain limit cases where it is impossible to qualify the solution as enclosed, enclosing or outside. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2d2TanRadGeo`(*args)

  Bases: `object`

  - This method implements the algorithms used to create 2d circles TANgent to a 2d circle and a curve with a radius of Radius. It raises NegativeValue if Radius is lower than zero.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (Geom2dGcc_QCurve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a 2d line and a curve with a radius of Radius. It raises NegativeValue if Radius is lower than zero.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (Geom2dGcc_QCurve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to two curves with a radius of Radius. It raises NegativeValue if Radius is lower than zero.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Qualified2 (Geom2dGcc_QCurve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles TANgent to a curve and a point with a radius of Radius. It raises NegativeValue if Radius is lower than zero.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Point2 (gp_Pnt2d) – Radius (float) – Tolerance (float) –
  Return type: | None

  `IsDone`()
    - This method returns True if the algorithm succeeded.

    Return type: | bool

  `IsTheSame1`()
    - Returns True if the solution number Index is equal to the first argument. It raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the construction algorithm did not succeed.

    Parameters: | Index (int) –
    Return type: | bool

  `IsTheSame2`()
    - Returns True if the solution number Index is equal to the second argument. It raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the construction algorithm did not succeed.

    Parameters: | Index (int) –
    Return type: | bool

  `NbSolutions`()
    - This method returns the number of solutions. It raises NotDone if the algorithm failed.

    Return type: | int

  `Tangency1`()
    - 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. ParArg is the intrinsic parameter of the point PntSol on the first argument. It raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the construction algorithm did not succeed.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()
    - Returns information about the tangency point between the result number Index and the second argument. ParSol is the intrinsic parameter of the point PntSol on the solution. ParArg is the intrinsic parameter of the point PntArg on the second argument. It raises OutOfRange if Index is greater than the number of solutions. It raises NotDone if the construction algorithm did not succeed.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - Returns the solution number Index. 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 OutOfRange exception if Index is greater than the number of solutions. It raises NotDone if the construction algorithm did not succeed.

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()
    - It returns the information 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).

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2d3Tan`(*args)

  Bases: `object`

  - Constructs one or more 2D circles tangential to three curves Qualified1, Qualified2 and Qualified3, where Param1, Param2 and Param3 are used, respectively, as the initial values of the parameters on Qualified1, Qualified2 and Qualified3 of the tangency point between these arguments and the solution sought, if the algorithm chooses an iterative method to find the solution (i.e. if either Qualified1, Qualified2 or Qualified3 is more complex than a line or a circle).

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Qualified2 (Geom2dGcc_QualifiedCurve &) – Qualified3 (Geom2dGcc_QualifiedCurve &) – Tolerance (float) – Param1 (float) – Param2 (float) – Param3 (float) –
  Return type: | None

  - Constructs one or more 2D circles tangential to two curves Qualified1 and Qualified2 and passing through the point Point, where Param1 and Param2 are used, respectively, as the initial values of the parameters on Qualified1 and Qualified2 of the tangency point between this argument and the solution sought, if the algorithm chooses an iterative method to find the solution (i.e. if either Qualified1 or Qualified2 is more complex than a line or a circle).

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Qualified2 (Geom2dGcc_QualifiedCurve &) – Point (Handle_Geom2d_Point &) – Tolerance (float) – Param1 (float) – Param2 (float) –
  Return type: | None

  - Constructs one or more 2D circles tangential to the curve Qualified1 and passing through two points Point1 and Point2, where Param1 is used as the initial value of the parameter on Qualified1 of the tangency point between this argument and the solution sought, if the algorithm chooses an iterative method to find the solution (i.e. if Qualified1 is more complex than a line or a circle)

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Point1 (Handle_Geom2d_Point &) – Point2 (Handle_Geom2d_Point &) – Tolerance (float) – Param1 (float) –
  Return type: | None

  - Constructs one or more 2D circles passing through three points Point1, Point2 and Point3. Tolerance is a tolerance criterion used by the algorithm to find a solution when, mathematically, the problem posed does not have a solution, but where there is numeric uncertainty attached to the arguments. For example, take: - two circles C1 and C2, such that C2 is inside C1, and almost tangential to C1; there is in fact no point of intersection between C1 and C2; and - a circle C3 outside C1. You now want to find a circle which is tangential to C1, C2 and C3: a pure mathematical resolution will not find a solution. This is where the tolerance criterion is used: the algorithm considers that C1 and C2 are tangential if the shortest distance between these two circles is less than or equal to Tolerance. Thus, the algorithm finds a solution. Warning An iterative algorithm is used if Qualified1, Qualified2 or Qualified3 is more complex than a line or a circle. In such cases, the algorithm constructs only one solution. Exceptions GccEnt_BadQualifier if a qualifier is inconsistent with the argument it qualifies (for example, enclosing for a line).

  Parameters: | Point1 (Handle_Geom2d_Point &) – Point2 (Handle_Geom2d_Point &) – Point3 (Handle_Geom2d_Point &) – Tolerance (float) –
  Return type: | None

  `IsDone`()
    - Returns true if the construction algorithm does not fail (even if it finds no solution). Note: IsDone protects against a failure arising from a more internal intersection algorithm, which has reached its numeric limits.

    Return type: | bool

  `IsTheSame1`()
    - Returns True if the solution is equal to the first argument.

    Parameters: | Index (int) –
    Return type: | bool

  `IsTheSame2`()
    - Returns True if the solution is equal to the second argument.

    Parameters: | Index (int) –
    Return type: | bool

  `IsTheSame3`()
    - Returns True if the solution is equal to the third argument. If Rarg is the radius of the first, second or third argument, Rsol is the radius of the solution and dist is the distance between the two centers, we consider the two circles to be identical if |Rarg - Rsol| and dist are less than or equal to the tolerance criterion given at the time of construction of this algorithm. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) –
    Return type: | bool

  `NbSolutions`()
    - This method returns the number of solutions. NotDone is raised if the algorithm failed.

    Return type: | int

  `Results`()

    Parameters: | Circ (GccAna_Circ2d3Tan &) – Rank1 (int) – Rank2 (int) – Rank3 (int) –
    Return type: | None

  `Tangency1`()
    - Returns informations about the tangency point between the result 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()
    - Returns informations about the tangency point between the result and the second 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency3`()
    - Returns informations about the tangency point between the result and the third 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - 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.

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()
    - 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).

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) – Qualif3 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2d3TanIter`(*args)

  Bases: `object`

  - This method implements the algorithms used to create 2d circles tangent to 2 circles and a curve.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (GccEnt_QualifiedCirc &) – Qualified3 (Geom2dGcc_QCurve &) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles tangent to a circle and 2 curves.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (Geom2dGcc_QCurve &) – Qualified3 (Geom2dGcc_QCurve &) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles tangent to a circle and a line and a curve.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (GccEnt_QualifiedLin &) – Qualified3 (Geom2dGcc_QCurve &) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

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

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (Geom2dGcc_QCurve &) – Point3 (gp_Pnt2d) – Param1 (float) – Param2 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles tangent to 2 lines and a curve.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (GccEnt_QualifiedLin &) – Qualified3 (Geom2dGcc_QCurve &) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles tangent to a line and 2 curves.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (Geom2dGcc_QCurve &) – Qualified3 (Geom2dGcc_QCurve &) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles tangent to a line and a curve and a point.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – Qualified2 (Geom2dGcc_QCurve &) – Point3 (gp_Pnt2d) – Param1 (float) – Param2 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles tangent to a curve and 2 points.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Point1 (gp_Pnt2d) – Point2 (gp_Pnt2d) – Param1 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles tangent to 2 curves and a point.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Qualified2 (Geom2dGcc_QCurve &) – Point2 (gp_Pnt2d) – Param1 (float) – Param2 (float) – Tolerance (float) –
  Return type: | None

  - This method implements the algorithms used to create 2d circles tangent to 3 curves.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Qualified2 (Geom2dGcc_QCurve &) – Qualified3 (Geom2dGcc_QCurve &) – Param1 (float) – Param2 (float) – Param3 (float) – Tolerance (float) –
  Return type: | None

  `IsDone`()
    - This method returns True if the construction algorithm succeeded.

    Return type: | bool

  `IsTheSame1`()
    - It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | bool

  `IsTheSame2`()
    - It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | bool

  `IsTheSame3`()
    - It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | bool

  `Tangency1`()
    - Returns informations about the tangency point between the result 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. It raises NotDone if the construction algorithm didn’t succeed.

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()
    - Returns informations about the tangency point between the result and the second 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. It raises NotDone if the construction algorithm didn’t succeed.

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency3`()
    - Returns informations about the tangency point between the result and the third 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. It raises NotDone if the construction algorithm didn’t succeed.

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - Returns the solution. It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | gp_Circ2d

  `WhichQualifier`()

    Parameters: | Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) – Qualif3 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2dTanCen`(*args)

  Bases: `object`

  - Constructs one or more 2D circles tangential to the curve Qualified1 and centered on the point Pcenter. Tolerance is a tolerance criterion used by the algorithm to find a solution when, mathematically, the problem posed does not have a solution, but where there is numeric uncertainty attached to the arguments. Tolerance is only used in these algorithms in very specific cases where the center of the solution is very close to the circle to which it is tangential, and where the solution is thus a very small circle. Exceptions GccEnt_BadQualifier if a qualifier is inconsistent with the argument it qualifies (for example, enclosing for a line).

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Pcenter (Handle_Geom2d_Point &) – Tolerance (float) –
  Return type: | None

  `IsDone`()
    - Returns true if the construction algorithm does not fail (even if it finds no solution). Note: IsDone protects against a failure arising from a more internal intersection algorithm, which has reached its numeric limits.

    Return type: | bool

  `IsTheSame1`()
    - Returns true if the solution of index Index and the first argument of this algorithm are the same (i.e. there are 2 identical circles). If Rarg is the radius of the first argument, Rsol is the radius of the solution and dist is the distance between the two centers, we consider the two circles to be identical if |Rarg - Rsol| and dist are less than or equal to the tolerance criterion given at the time of construction of this algorithm. NotDone is raised if the construction algorithm didn’t succeed. OutOfRange is raised if Index is greater than the number of solutions.

    Parameters: | Index (int) –
    Return type: | bool

  `NbSolutions`()
    - Returns the number of circles, representing solutions computed by this algorithm. Exceptions StdFail_NotDone if the construction fails.

    Return type: | int

  `Tangency1`()
    - 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. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - Returns a circle, representing the solution of index Index computed by this algorithm. Warning This indexing simply provides a means of consulting the solutions. The index values are not associated with these solutions outside the context of the algorithm object. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()
    - Returns the qualifier Qualif1 of the tangency argument for the solution of index Index computed by this algorithm. The returned qualifier is: - that specified at the start of construction when the solutions are defined as enclosed, enclosing or outside with respect to the argument, or - that computed during construction (i.e. enclosed, enclosing or outside) when the solutions are defined as unqualified with respect to the argument. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2dTanCenGeo`(*args)

  Bases: `object`

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

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Pcenter (gp_Pnt2d) – Tolerance (float) –
  Return type: | None

  `IsDone`()
    - This method returns True if the construction algorithm succeeded.

    Return type: | bool

  `NbSolutions`()
    - 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.

    Return type: | int

  `Tangency1`()
    - 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - 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.

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2dTanOnRad`(*args)

  Bases: `object`

  - Constructs one or more 2D circles of radius Radius, centered on the 2D curve OnCurv and: - tangential to the curve Qualified1

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – OnCurv (Geom2dAdaptor_Curve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  - Constructs one or more 2D circles of radius Radius, centered on the 2D curve OnCurv and: passing through the point Point1. OnCurv is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by the construction algorithm. Similarly, the qualified curve Qualified1 is created from an adapted curve. Adapted curves are created in the following way: Handle_Geom2d_Curve myCurveOn = ... ; Geom2dAdaptor_Curve OnCurv ( myCurveOn ) ; The algorithm is then constructed with this object: Handle_Geom2d_Curve myCurve1 = ... ; Geom2dAdaptor_Curve Adapted1 ( myCurve1 ) ; Geom2dGcc_QualifiedCurve Qualified1 = Geom2dGcc::Outside(Adapted1); Standard_Real Radius = ... , Tolerance = ... ; Geom2dGcc_Circ2dTanOnRad myAlgo ( Qualified1 , OnCurv , Radius , Tolerance ) ; if ( myAlgo.IsDone() ) { Standard_Integer Nbr = myAlgo.NbSolutions() ; gp_Circ2d Circ ; for ( Standard_Integer i = 1 ; i <= nbr ; i++ ) { Circ = myAlgo.ThisSolution (i) ; ... } }

  Parameters: | Point1 (Handle_Geom2d_Point &) – OnCurv (Geom2dAdaptor_Curve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  `CenterOn3`()
    - Returns the center PntSol on the second argument (i.e. line or circle) of the solution of index Index computed by this algorithm. ParArg is the intrinsic parameter of the point on the argument curv. PntSol is the center point of the solution curv. PntArg is the projection of PntSol on the argument curv. Exceptions: Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `IsDone`()
    - Returns true if the construction algorithm does not fail (even if it finds no solution). Note: IsDone protects against a failure arising from a more internal intersection algorithm which has reached its numeric limits.

    Return type: | bool

  `IsTheSame1`()
    - Returns true if the solution of index Index and the first argument of this algorithm are the same (i.e. there are 2 identical circles). If Rarg is the radius of the first argument, Rsol is the radius of the solution and dist is the distance between the two centers, we consider the two circles to be identical if |Rarg - Rsol| and dist are less than or equal to the tolerance criterion given at the time of construction of this algorithm. OutOfRange is raised if Index is greater than the number of solutions. notDone is raised if the construction algorithm did not succeed.

    Parameters: | Index (int) –
    Return type: | bool

  `NbSolutions`()
    - Returns the number of circles, representing solutions computed by this algorithm. Exceptions: StdFail_NotDone if the construction fails.

    Return type: | int

  `Results`()

    Parameters: | Circ (Geom2dGcc_Circ2dTanOnRadGeo &) – Circ –
    Return type: | None
    Return type: | None

  `Tangency1`()
    - 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. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - 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. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()
    - Returns the qualifier Qualif1 of the tangency argument for the solution of index Index computed by this algorithm. The returned qualifier is: - that specified at the start of construction when the solutions are defined as enclosed, enclosing or outside with respect to the arguments, or - that computed during construction (i.e. enclosed, enclosing or outside) when the solutions are defined as unqualified with respect to the arguments, or - GccEnt_noqualifier if the tangency argument is a point. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Circ2dTanOnRadGeo`(*args)

  Bases: `object`

  - 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.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – OnLine (gp_Lin2d) – Radius (float) – Tolerance (float) –
  Return type: | None

  - 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.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – OnCirc (gp_Circ2d) – Radius (float) – Tolerance (float) –
  Return type: | None

  - 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.

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – OnCurv (Geom2dAdaptor_Curve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  - 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.

  Parameters: | Qualified1 (GccEnt_QualifiedLin &) – OnCurv (Geom2dAdaptor_Curve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  - 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.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – OnCurv (Geom2dAdaptor_Curve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  - 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.

  Parameters: | Point1 (gp_Pnt2d) – OnCurv (Geom2dAdaptor_Curve &) – Radius (float) – Tolerance (float) –
  Return type: | None

  `CenterOn3`()
    - 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.

    Parameters: | Index (int) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `IsDone`()
    - This method returns True if the construction algorithm succeeded.

    Return type: | bool

  `IsTheSame1`()
    - 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.

    Parameters: | Index (int) –
    Return type: | bool

  `NbSolutions`()
    - This method returns the number of solutions. It raises NotDone if the construction algorithm didn’t succeed.

    Return type: | int

  `Tangency1`()
    - 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - 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.

    Parameters: | Index (int) –
    Return type: | gp_Circ2d

  `WhichQualifier`()

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_CurveTool`

  Bases: `object`

  static `D1`(*args)

    Parameters: | C (Geom2dAdaptor_Curve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) –
    Return type: | void

  static `D2`(*args)

    Parameters: | C (Geom2dAdaptor_Curve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) – N (gp_Vec2d) –
    Return type: | void

  static `D3`(*args)

    Parameters: | C (Geom2dAdaptor_Curve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) – N (gp_Vec2d) – dN (gp_Vec2d) –
    Return type: | void

  static `EpsX`(*args)

    Parameters: | C (Geom2dAdaptor_Curve &) – Tol (float) –
    Return type: | float

  static `FirstParameter`(*args)

    Parameters: | C (Geom2dAdaptor_Curve &) –
    Return type: | float

  static `LastParameter`(*args)

    Parameters: | C (Geom2dAdaptor_Curve &) –
    Return type: | float

  static `NbSamples`(*args)

    Parameters: | C (Geom2dAdaptor_Curve &) –
    Return type: | int

  static `Value`(*args)

    Parameters: | C (Geom2dAdaptor_Curve &) – X (float) –
    Return type: | gp_Pnt2d

  `thisown`

    The membership flag

class `Geom2dGcc_CurveToolGeo`

  Bases: `object`

  static `Circle`(*args)
    - Returns the Circ2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Cir.

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | gp_Circ2d

  static `D1`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) –
    Return type: | void

  static `D2`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) – N (gp_Vec2d) –
    Return type: | void

  static `Ellipse`(*args)
    - Returns the Elips2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Eli.

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | gp_Elips2d

  static `EpsX`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) – Tol (float) –
    Return type: | float

  static `FirstParameter`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | float

  static `GetInterval`(*args)
    - Outputs the bounds of interval of index <Index> used if Type == Composite.

    Parameters: | C (Adaptor3d_OffsetCurve &) – Index (int) – U1 (float &) – U2 (float &) –
    Return type: | void

  static `GetIntervals`(*args)
    - Outputs the number of interval of continuity C1 of the curve used if Type == Composite.

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | int

  static `Hyperbola`(*args)
    - Returns the Hypr2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Hpr.

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | gp_Hypr2d

  static `IsComposite`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | bool

  static `LastParameter`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | float

  static `Line`(*args)
    - Returns the Lin2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Lin.

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | gp_Lin2d

  static `NbSamples`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | int

  static `Parabola`(*args)
    - Returns the Parab2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Prb.

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | gp_Parab2d

  static `SetCurrentInterval`(*args)
    - Set the current valid interval of index <Index> inside which the computations will be done (used if Type == Composite).

    Parameters: | C (Adaptor3d_OffsetCurve &) – Index (int) –
    Return type: | void

  static `TheType`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | GeomAbs_CurveType

  static `Value`(*args)

    Parameters: | C (Adaptor3d_OffsetCurve &) – X (float) –
    Return type: | gp_Pnt2d

  `thisown`

    The membership flag

`Geom2dGcc_CurveToolGeo_Circle`(*args)
  - Returns the Circ2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Cir.

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | gp_Circ2d

`Geom2dGcc_CurveToolGeo_D1`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) –
  Return type: | void

`Geom2dGcc_CurveToolGeo_D2`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) – N (gp_Vec2d) –
  Return type: | void

`Geom2dGcc_CurveToolGeo_Ellipse`(*args)
  - Returns the Elips2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Eli.

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | gp_Elips2d

`Geom2dGcc_CurveToolGeo_EpsX`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) – Tol (float) –
  Return type: | float

`Geom2dGcc_CurveToolGeo_FirstParameter`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | float

`Geom2dGcc_CurveToolGeo_GetInterval`(*args)
  - Outputs the bounds of interval of index <Index> used if Type == Composite.

  Parameters: | C (Adaptor3d_OffsetCurve &) – Index (int) – U1 (float &) – U2 (float &) –
  Return type: | void

`Geom2dGcc_CurveToolGeo_GetIntervals`(*args)
  - Outputs the number of interval of continuity C1 of the curve used if Type == Composite.

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | int

`Geom2dGcc_CurveToolGeo_Hyperbola`(*args)
  - Returns the Hypr2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Hpr.

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | gp_Hypr2d

`Geom2dGcc_CurveToolGeo_IsComposite`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | bool

`Geom2dGcc_CurveToolGeo_LastParameter`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | float

`Geom2dGcc_CurveToolGeo_Line`(*args)
  - Returns the Lin2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Lin.

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | gp_Lin2d

`Geom2dGcc_CurveToolGeo_NbSamples`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | int

`Geom2dGcc_CurveToolGeo_Parabola`(*args)
  - Returns the Parab2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Prb.

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | gp_Parab2d

`Geom2dGcc_CurveToolGeo_SetCurrentInterval`(*args)
  - Set the current valid interval of index <Index> inside which the computations will be done (used if Type == Composite).

  Parameters: | C (Adaptor3d_OffsetCurve &) – Index (int) –
  Return type: | void

`Geom2dGcc_CurveToolGeo_TheType`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | GeomAbs_CurveType

`Geom2dGcc_CurveToolGeo_Value`(*args)

  Parameters: | C (Adaptor3d_OffsetCurve &) – X (float) –
  Return type: | gp_Pnt2d

`Geom2dGcc_CurveTool_D1`(*args)

  Parameters: | C (Geom2dAdaptor_Curve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) –
  Return type: | void

`Geom2dGcc_CurveTool_D2`(*args)

  Parameters: | C (Geom2dAdaptor_Curve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) – N (gp_Vec2d) –
  Return type: | void

`Geom2dGcc_CurveTool_D3`(*args)

  Parameters: | C (Geom2dAdaptor_Curve &) – U (float) – P (gp_Pnt2d) – T (gp_Vec2d) – N (gp_Vec2d) – dN (gp_Vec2d) –
  Return type: | void

`Geom2dGcc_CurveTool_EpsX`(*args)

  Parameters: | C (Geom2dAdaptor_Curve &) – Tol (float) –
  Return type: | float

`Geom2dGcc_CurveTool_FirstParameter`(*args)

  Parameters: | C (Geom2dAdaptor_Curve &) –
  Return type: | float

`Geom2dGcc_CurveTool_LastParameter`(*args)

  Parameters: | C (Geom2dAdaptor_Curve &) –
  Return type: | float

`Geom2dGcc_CurveTool_NbSamples`(*args)

  Parameters: | C (Geom2dAdaptor_Curve &) –
  Return type: | int

`Geom2dGcc_CurveTool_Value`(*args)

  Parameters: | C (Geom2dAdaptor_Curve &) – X (float) –
  Return type: | gp_Pnt2d

class `Geom2dGcc_FunctionTanCirCu`(*args)

  Bases: `OCC.math.math_FunctionWithDerivative`

  Parameters: | Circ (gp_Circ2d) – Curv (Geom2dAdaptor_Curve &) –
  Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_FunctionTanCuCu`(*args)

  Bases: `OCC.math.math_FunctionSetWithDerivatives`

  Parameters: | Curv1 (Geom2dAdaptor_Curve &) – Curv2 (Geom2dAdaptor_Curve &) – Circ1 (gp_Circ2d) – Curv2 –
  Return type: | None
  Return type: | None

  `InitDerivative`()

    Parameters: | X (math_Vector &) – Point1 (gp_Pnt2d) – Point2 (gp_Pnt2d) – Tan1 (gp_Vec2d) – Tan2 (gp_Vec2d) – D21 (gp_Vec2d) – D22 (gp_Vec2d) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_FunctionTanCuCuOnCu`(*args)

  Bases: `OCC.math.math_FunctionSetWithDerivatives`

  Parameters: | C1 (Geom2dAdaptor_Curve &) – C2 (Geom2dAdaptor_Curve &) – OnCi (gp_Circ2d) – Rad (float) – C1 – C2 – OnCi – Rad – L1 (gp_Lin2d) – C2 – OnCi – Rad – C1 – P2 (gp_Pnt2d) – OnCi – Rad – C1 – C2 – OnLi (gp_Lin2d) – Rad – C1 – C2 – OnLi – Rad – L1 – C2 – OnLi – Rad – C1 – P2 – OnLi – Rad – C1 – C2 – OnCu (Geom2dAdaptor_Curve &) – Rad – C1 – C2 – OnCu – Rad – L1 – C2 – OnCu – Rad – C1 – P1 (gp_Pnt2d) – OnCu – Rad –
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `InitDerivative`()

    Parameters: | X (math_Vector &) – Point1 (gp_Pnt2d) – Point2 (gp_Pnt2d) – Point3 (gp_Pnt2d) – Tan1 (gp_Vec2d) – Tan2 (gp_Vec2d) – Tan3 (gp_Vec2d) – D21 (gp_Vec2d) – D22 (gp_Vec2d) – D23 (gp_Vec2d) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_FunctionTanCuPnt`(*args)

  Bases: `OCC.math.math_FunctionWithDerivative`

  Parameters: | C (Geom2dAdaptor_Curve &) – Point (gp_Pnt2d) –
  Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_FunctionTanObl`(*args)

  Bases: `OCC.math.math_FunctionWithDerivative`

  Parameters: | Curve (Geom2dAdaptor_Curve &) – Dir (gp_Dir2d) –
  Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Lin2d2Tan`(*args)

  Bases: `object`

  - This class implements the algorithms used to create 2d line tangent to two curves. Tolang is used to determine the tolerance for the tangency points.

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Qualified2 (Geom2dGcc_QualifiedCurve &) – Tolang (float) –
  Return type: | None

  - This class implements the algorithms used to create 2d lines passing thrue a point and tangent to a curve. Tolang is used to determine the tolerance for the tangency points.

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – ThePoint (gp_Pnt2d) – Tolang (float) –
  Return type: | None

  - This class implements the algorithms used to create 2d line tangent to two curves. Tolang is used to determine the tolerance for the tangency points. Param1 is used for the initial guess on the first curve. Param2 is used for the initial guess on the second curve.

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – Qualified2 (Geom2dGcc_QualifiedCurve &) – Tolang (float) – Param1 (float) – Param2 (float) –
  Return type: | None

  - This class implements the algorithms used to create 2d lines passing thrue a point and tangent to a curve. Tolang is used to determine the tolerance for the tangency points. Param2 is used for the initial guess on the curve.

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – ThePoint (gp_Pnt2d) – Tolang (float) – Param1 (float) –
  Return type: | None

  `IsDone`()
    - Returns true if the construction algorithm does not fail (even if it finds no solution). Note: IsDone protects against a failure arising from a more internal intersection algorithm, which has reached its numeric limits.

    Return type: | bool

  `NbSolutions`()
    - Returns the number of lines, representing solutions computed by this algorithm. Exceptions StdFail_NotDone if the construction fails.R

    Return type: | int

  `Tangency1`()
    - Returns informations about the tangency point between the result 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. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()
    - Returns informations about the tangency point between the result 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. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - Returns a line, representing the solution of index Index computed by this algorithm. Warning This indexing simply provides a means of consulting the solutions. The index values are not associated with these solutions outside the context of the algorithm object. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) –
    Return type: | gp_Lin2d

  `WhichQualifier`()
    - Returns the qualifiers Qualif1 and Qualif2 of the tangency arguments for the solution of index Index computed by this algorithm. The returned qualifiers are: - those specified at the start of construction when the solutions are defined as enclosing or outside with respect to the arguments, or - those computed during construction (i.e. enclosing or outside) when the solutions are defined as unqualified with respect to the arguments, or - GccEnt_noqualifier if the tangency argument is a point. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Lin2d2TanIter`(*args)

  Bases: `object`

  - This class implements the algorithms used to create 2d lines passing thrue a point and tangent to a curve. Tolang is used to determine the tolerance for the tangency points. Param2 is used for the initial guess on the curve.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – ThePoint (gp_Pnt2d) – Param1 (float) – Tolang (float) –
  Return type: | None

  - This class implements the algorithms used to create 2d line tangent to a circle and to a cuve. Tolang is used to determine the tolerance for the tangency points. Param2 is used for the initial guess on the curve. Exception BadQualifier is raised in the case of EnclosedCirc

  Parameters: | Qualified1 (GccEnt_QualifiedCirc &) – Qualified2 (Geom2dGcc_QCurve &) – Param2 (float) – Tolang (float) –
  Return type: | None

  - This class implements the algorithms used to create 2d line tangent to two curves. Tolang is used to determine the tolerance for the tangency points. Param1 is used for the initial guess on the first curve. Param2 is used for the initial guess on the second curve.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – Qualified2 (Geom2dGcc_QCurve &) – Param1 (float) – Param2 (float) – Tolang (float) –
  Return type: | None

  `IsDone`()
    - This methode returns true when there is a solution and false in the other cases.

    Return type: | bool

  `Tangency1`()
    - Returns informations about the tangency point between the result 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.

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `Tangency2`()

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - Returns the solution.

    Return type: | gp_Lin2d

  `WhichQualifier`()

    Parameters: | Qualif1 (GccEnt_Position &) – Qualif2 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Lin2dTanObl`(*args)

  Bases: `object`

  - This class implements the algorithm used to create 2d line tangent to a curve and doing an angle Angle with the line TheLin. Angle must be in Radian. Tolang is the angular tolerance.

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – TheLin (gp_Lin2d) – TolAng (float) – Angle (float) –
  Return type: | None

  - This class implements the algorithm used to create 2d line tangent to a curve and doing an angle Angle with the line TheLin. Angle must be in Radian. Param2 is the initial guess on the curve QualifiedCurv. Tolang is the angular tolerance. Warning An iterative algorithm is used if Qualified1 is more complex than a line or a circle. In such cases, the algorithm constructs only one solution. Exceptions GccEnt_BadQualifier if a qualifier is inconsistent with the argument it qualifies (for example, enclosed for a circle).

  Parameters: | Qualified1 (Geom2dGcc_QualifiedCurve &) – TheLin (gp_Lin2d) – TolAng (float) – Param1 (float) – Angle (float) –
  Return type: | None

  `Intersection2`()
    - Returns the point of intersection PntSol between the solution of index Index and the second argument (the line) of this algorithm. ParSol is the parameter of the point PntSol on the solution. ParArg is the parameter of the point PntSol on the second argument (the line). Exceptions StdFail_NotDone if the construction fails. Geom2dGcc_IsParallel if the solution and the second argument (the line) are parallel. Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `IsDone`()
    - Returns true if the construction algorithm does not fail (even if it finds no solution). Note: IsDone protects against a failure arising from a more internal intersection algorithm, which has reached its numeric limits.

    Return type: | bool

  `NbSolutions`()
    - Returns the number of lines, representing solutions computed by this algorithm. Exceptions StdFail_NotDone if the construction fails.

    Return type: | int

  `Tangency1`()
    - Returns informations about the tangency point between the result 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.

    Parameters: | Index (int) – ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()
    - Returns a line, representing the solution of index Index computed by this algorithm. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) –
    Return type: | gp_Lin2d

  `WhichQualifier`()
    - Returns the qualifier Qualif1 of the tangency argument for the solution of index Index computed by this algorithm. The returned qualifier is: - that specified at the start of construction when the solutions are defined as enclosing or outside with respect to the argument, or - that computed during construction (i.e. enclosing or outside) when the solutions are defined as unqualified with respect to the argument, or - GccEnt_noqualifier if the tangency argument is a point. Exceptions Standard_OutOfRange if Index is less than zero or greater than the number of solutions computed by this algorithm. StdFail_NotDone if the construction fails.

    Parameters: | Index (int) – Qualif1 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_Lin2dTanOblIter`(*args)

  Bases: `object`

  - This class implements the algorithm used to create 2d line tangent to a curve and doing an angle Angle with the line TheLin. Angle must be in Radian. Param2 is the initial guess on the curve QualifiedCurv. Tolang is the angular tolerance.

  Parameters: | Qualified1 (Geom2dGcc_QCurve &) – TheLin (gp_Lin2d) – Param1 (float) – TolAng (float) – Angle (float) – default value is 0
  Return type: | None

  `Intersection2`()

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `IsDone`()
    - This method returns true when there is a solution and false in the other cases.

    Return type: | bool

  `IsParallel2`()

    Return type: | bool

  `Tangency1`()

    Parameters: | ParSol (float &) – ParArg (float &) – PntSol (gp_Pnt2d) –
    Return type: | None

  `ThisSolution`()

    Return type: | gp_Lin2d

  `WhichQualifier`()

    Parameters: | Qualif1 (GccEnt_Position &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dGcc_QCurve`(*args)

  Bases: `object`

  Parameters: | Curve (Geom2dAdaptor_Curve &) – Qualifier (GccEnt_Position) –
  Return type: | None

  `IsEnclosed`()
    - Returns true if the solution is Enclosed in the Curv and false in the other cases.

    Return type: | bool

  `IsEnclosing`()
    - Returns true if the solution is Enclosing the Curv and false in the other cases.

    Return type: | bool

  `IsOutside`()
    - Returns true if the solution is Outside the Curv and false in the other cases.

    Return type: | bool

  `IsUnqualified`()
    - Returns true if the solution is unqualified and false in the other cases.

    Return type: | bool

  `Qualified`()

    Return type: | Geom2dAdaptor_Curve

  `Qualifier`()

    Return type: | GccEnt_Position

  `thisown`

    The membership flag

class `Geom2dGcc_QualifiedCurve`(*args)

  Bases: `object`

  - Constructs a qualified curve by assigning the qualifier Qualifier to the curve Curve. Qualifier may be: - GccEnt_enclosing if the solution of a construction algorithm using the qualified curve encloses the curve, or - GccEnt_enclosed if the solution is enclosed by the curve, or - GccEnt_outside if both the solution and the curve are external to one another, or - GccEnt_unqualified if all solutions apply. Note: The interior of a curve is defined as the left-hand side of the curve in relation to its orientation. Warning Curve is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Curve ( mycurve ) ; The qualified curve is then constructed with this object: GccEnt_Position myQualif = GccEnt_outside ; Geom2dGcc_QualifiedCurve myQCurve ( Curve, myQualif ); is private;

  Parameters: | Curve (Geom2dAdaptor_Curve &) – Qualifier (GccEnt_Position) –
  Return type: | None

  `IsEnclosed`()
    - It returns true if the solution is Enclosed in the Curv and false in the other cases.

    Return type: | bool

  `IsEnclosing`()
    - It returns true if the solution is Enclosing the Curv and false in the other cases.

    Return type: | bool

  `IsOutside`()
    - It returns true if the solution is Outside the Curv and false in the other cases.

    Return type: | bool

  `IsUnqualified`()
    - Returns true if the solution is unqualified and false in the other cases.

    Return type: | bool

  `Qualified`()
    - Returns a 2D curve to which the qualifier is assigned. Warning The returned curve is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The Geom2d curve on which the adapted curve is based can be obtained in the following way: myQualifiedCurve = ... ; Geom2dAdaptor_Curve myAdaptedCurve = myQualifiedCurve.Qualified(); Handle_Geom2d_Curve = myAdaptedCurve.Curve();

    Return type: | Geom2dAdaptor_Curve

  `Qualifier`()
    - Returns - the qualifier of this qualified curve if it is enclosing, enclosed or outside, or - GccEnt_noqualifier if it is unqualified.

    Return type: | GccEnt_Position

  `thisown`

    The membership flag

class `SwigPyIterator`(*args, **kwargs)

  Bases: `object`

  `advance`()
  `copy`()
  `decr`()
  `distance`()
  `equal`()
  `incr`()
  `next`()
  `previous`()
  `thisown`

    The membership flag

  `value`()

class `geom2dgcc`

  Bases: `object`

  static `Enclosed`(*args)
    - Constructs such a qualified curve that the solution computed by a construction algorithm using the qualified curve is enclosed by the curve. Warning Obj is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Obj ( mycurve ) ; The qualified curve is then constructed with this object: Geom2dGcc_QualifiedCurve myQCurve = Geom2dGcc::Enclosed(Obj);

    Parameters: | Obj (Geom2dAdaptor_Curve &) –
    Return type: | Geom2dGcc_QualifiedCurve

  static `Enclosing`(*args)
    - Constructs such a qualified curve that the solution computed by a construction algorithm using the qualified curve encloses the curve. Warning Obj is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Obj ( mycurve ) ; The qualified curve is then constructed with this object: Geom2dGcc_QualifiedCurve myQCurve = Geom2dGcc::Enclosing(Obj);

    Parameters: | Obj (Geom2dAdaptor_Curve &) –
    Return type: | Geom2dGcc_QualifiedCurve

  static `Outside`(*args)
    - Constructs such a qualified curve that the solution computed by a construction algorithm using the qualified curve and the curve are external to one another. Warning Obj is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Obj ( mycurve ) ; The qualified curve is then constructed with this object: Geom2dGcc_QualifiedCurve myQCurve = Geom2dGcc::Outside(Obj);

    Parameters: | Obj (Geom2dAdaptor_Curve &) –
    Return type: | Geom2dGcc_QualifiedCurve

  static `Unqualified`(*args)
    - Constructs such a qualified curve that the relative position of the solution computed by a construction algorithm using the qualified curve to the circle or line is not qualified, i.e. all solutions apply. Warning Obj is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Obj ( mycurve ) ; The qualified curve is then constructed with this object: Geom2dGcc_QualifiedCurve myQCurve = Geom2dGcc::Unqualified(Obj);

    Parameters: | Obj (Geom2dAdaptor_Curve &) –
    Return type: | Geom2dGcc_QualifiedCurve

  `thisown`

    The membership flag

`geom2dgcc_Enclosed`(*args)
  - Constructs such a qualified curve that the solution computed by a construction algorithm using the qualified curve is enclosed by the curve. Warning Obj is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Obj ( mycurve ) ; The qualified curve is then constructed with this object: Geom2dGcc_QualifiedCurve myQCurve = Geom2dGcc::Enclosed(Obj);

  Parameters: | Obj (Geom2dAdaptor_Curve &) –
  Return type: | Geom2dGcc_QualifiedCurve

`geom2dgcc_Enclosing`(*args)
  - Constructs such a qualified curve that the solution computed by a construction algorithm using the qualified curve encloses the curve. Warning Obj is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Obj ( mycurve ) ; The qualified curve is then constructed with this object: Geom2dGcc_QualifiedCurve myQCurve = Geom2dGcc::Enclosing(Obj);

  Parameters: | Obj (Geom2dAdaptor_Curve &) –
  Return type: | Geom2dGcc_QualifiedCurve

`geom2dgcc_Outside`(*args)
  - Constructs such a qualified curve that the solution computed by a construction algorithm using the qualified curve and the curve are external to one another. Warning Obj is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Obj ( mycurve ) ; The qualified curve is then constructed with this object: Geom2dGcc_QualifiedCurve myQCurve = Geom2dGcc::Outside(Obj);

  Parameters: | Obj (Geom2dAdaptor_Curve &) –
  Return type: | Geom2dGcc_QualifiedCurve

`geom2dgcc_Unqualified`(*args)
  - Constructs such a qualified curve that the relative position of the solution computed by a construction algorithm using the qualified curve to the circle or line is not qualified, i.e. all solutions apply. Warning Obj is an adapted curve, i.e. an object which is an interface between: - the services provided by a 2D curve from the package Geom2d, - and those required on the curve by a computation algorithm. The adapted curve is created in the following way: Handle_Geom2d_Curve mycurve = ... ; Geom2dAdaptor_Curve Obj ( mycurve ) ; The qualified curve is then constructed with this object: Geom2dGcc_QualifiedCurve myQCurve = Geom2dGcc::Unqualified(Obj);

  Parameters: | Obj (Geom2dAdaptor_Curve &) –
  Return type: | Geom2dGcc_QualifiedCurve

`register_handle`(handle, base_object)

  Inserts the handle into the base object to prevent memory corruption in certain cases