# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

"""
Geom2dGcc module, see official documentation at
https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2dgcc.html
"""

from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
    raise RuntimeError("Python 2.7 or later required")

# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _Geom2dGcc
else:
    import _Geom2dGcc

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "thisown":
            self.this.own(value)
        elif name == "this":
            set(self, name, value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


class SwigPyIterator(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _Geom2dGcc.delete_SwigPyIterator

    def value(self) -> "PyObject *":
        return _Geom2dGcc.SwigPyIterator_value(self)

    def incr(self, n: "size_t"=1) -> "swig::SwigPyIterator *":
        return _Geom2dGcc.SwigPyIterator_incr(self, n)

    def decr(self, n: "size_t"=1) -> "swig::SwigPyIterator *":
        return _Geom2dGcc.SwigPyIterator_decr(self, n)

    def distance(self, x: "SwigPyIterator") -> "ptrdiff_t":
        return _Geom2dGcc.SwigPyIterator_distance(self, x)

    def equal(self, x: "SwigPyIterator") -> "bool":
        return _Geom2dGcc.SwigPyIterator_equal(self, x)

    def copy(self) -> "swig::SwigPyIterator *":
        return _Geom2dGcc.SwigPyIterator_copy(self)

    def next(self) -> "PyObject *":
        return _Geom2dGcc.SwigPyIterator_next(self)

    def __next__(self) -> "PyObject *":
        return _Geom2dGcc.SwigPyIterator___next__(self)

    def previous(self) -> "PyObject *":
        return _Geom2dGcc.SwigPyIterator_previous(self)

    def advance(self, n: "ptrdiff_t") -> "swig::SwigPyIterator *":
        return _Geom2dGcc.SwigPyIterator_advance(self, n)

    def __eq__(self, x: "SwigPyIterator") -> "bool":
        return _Geom2dGcc.SwigPyIterator___eq__(self, x)

    def __ne__(self, x: "SwigPyIterator") -> "bool":
        return _Geom2dGcc.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator &":
        return _Geom2dGcc.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator &":
        return _Geom2dGcc.SwigPyIterator___isub__(self, n)

    def __add__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator *":
        return _Geom2dGcc.SwigPyIterator___add__(self, n)

    def __sub__(self, *args) -> "ptrdiff_t":
        return _Geom2dGcc.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self

# Register SwigPyIterator in _Geom2dGcc:
_Geom2dGcc.SwigPyIterator_swigregister(SwigPyIterator)


def _dumps_object(klass):
    """ Overwrite default string output for any wrapped object.
    By default, __repr__ method returns something like:
    <OCC.Core.TopoDS.TopoDS_Shape; proxy of <Swig Object of type 'TopoDS_Shape *' at 0x02BB0758> >
    This is too much verbose.
    We prefer :
    <class 'gp_Pnt'>
    or
    <class 'TopoDS_Shape'>
    """
    klass_name = str(klass.__class__).split(".")[3].split("'")[0]
    repr_string = "<class '" + klass_name + "'"
# for TopoDS_Shape, we also look for the base type
    if klass_name == "TopoDS_Shape":
        if klass.IsNull():
            repr_string += ": Null>"
            return repr_string
        st = klass.ShapeType()
        types = {OCC.Core.TopAbs.TopAbs_VERTEX: "Vertex",
                 OCC.Core.TopAbs.TopAbs_SOLID: "Solid",
                 OCC.Core.TopAbs.TopAbs_EDGE: "Edge",
                 OCC.Core.TopAbs.TopAbs_FACE: "Face",
                 OCC.Core.TopAbs.TopAbs_SHELL: "Shell",
                 OCC.Core.TopAbs.TopAbs_WIRE: "Wire",
                 OCC.Core.TopAbs.TopAbs_COMPOUND: "Compound",
                 OCC.Core.TopAbs.TopAbs_COMPSOLID: "Compsolid"}
        repr_string += "; Type:%s" % types[st]        
    elif hasattr(klass, "IsNull"):
        if klass.IsNull():
            repr_string += "; Null"
    repr_string += ">"
    return repr_string


def process_exception(error: "Standard_Failure", method_name: "std::string", class_name: "std::string") -> "void":
    return _Geom2dGcc.process_exception(error, method_name, class_name)

from six import with_metaclass
import warnings
from OCC.Wrapper.wrapper_utils import Proxy, deprecated

import OCC.Core.Standard
import OCC.Core.NCollection
import OCC.Core.Geom2dAdaptor
import OCC.Core.Adaptor2d
import OCC.Core.Geom2d
import OCC.Core.gp
import OCC.Core.TColStd
import OCC.Core.TCollection
import OCC.Core.GeomAbs
import OCC.Core.TColgp
import OCC.Core.GccAna
import OCC.Core.GccEnt
import OCC.Core.GccInt
import OCC.Core.math
import OCC.Core.Message
import OCC.Core.OSD

from enum import IntEnum
from OCC.Core.Exception import *

Geom2dGcc_CuCuOnCu = _Geom2dGcc.Geom2dGcc_CuCuOnCu
Geom2dGcc_CiCuOnCu = _Geom2dGcc.Geom2dGcc_CiCuOnCu
Geom2dGcc_LiCuOnCu = _Geom2dGcc.Geom2dGcc_LiCuOnCu
Geom2dGcc_CuPtOnCu = _Geom2dGcc.Geom2dGcc_CuPtOnCu
Geom2dGcc_CuCuOnLi = _Geom2dGcc.Geom2dGcc_CuCuOnLi
Geom2dGcc_CiCuOnLi = _Geom2dGcc.Geom2dGcc_CiCuOnLi
Geom2dGcc_LiCuOnLi = _Geom2dGcc.Geom2dGcc_LiCuOnLi
Geom2dGcc_CuPtOnLi = _Geom2dGcc.Geom2dGcc_CuPtOnLi
Geom2dGcc_CuCuOnCi = _Geom2dGcc.Geom2dGcc_CuCuOnCi
Geom2dGcc_CiCuOnCi = _Geom2dGcc.Geom2dGcc_CiCuOnCi
Geom2dGcc_LiCuOnCi = _Geom2dGcc.Geom2dGcc_LiCuOnCi
Geom2dGcc_CuPtOnCi = _Geom2dGcc.Geom2dGcc_CuPtOnCi
Geom2dGcc_CuCu = _Geom2dGcc.Geom2dGcc_CuCu
Geom2dGcc_CiCu = _Geom2dGcc.Geom2dGcc_CiCu
Geom2dGcc_CuCuCu = _Geom2dGcc.Geom2dGcc_CuCuCu
Geom2dGcc_CiCuCu = _Geom2dGcc.Geom2dGcc_CiCuCu
Geom2dGcc_CiCiCu = _Geom2dGcc.Geom2dGcc_CiCiCu
Geom2dGcc_CiLiCu = _Geom2dGcc.Geom2dGcc_CiLiCu
Geom2dGcc_LiLiCu = _Geom2dGcc.Geom2dGcc_LiLiCu
Geom2dGcc_LiCuCu = _Geom2dGcc.Geom2dGcc_LiCuCu


class Geom2dGcc_Type2(IntEnum):
	Geom2dGcc_CuCuOnCu = 0
	Geom2dGcc_CiCuOnCu = 1
	Geom2dGcc_LiCuOnCu = 2
	Geom2dGcc_CuPtOnCu = 3
	Geom2dGcc_CuCuOnLi = 4
	Geom2dGcc_CiCuOnLi = 5
	Geom2dGcc_LiCuOnLi = 6
	Geom2dGcc_CuPtOnLi = 7
	Geom2dGcc_CuCuOnCi = 8
	Geom2dGcc_CiCuOnCi = 9
	Geom2dGcc_LiCuOnCi = 10
	Geom2dGcc_CuPtOnCi = 11
Geom2dGcc_CuCuOnCu = Geom2dGcc_Type2.Geom2dGcc_CuCuOnCu
Geom2dGcc_CiCuOnCu = Geom2dGcc_Type2.Geom2dGcc_CiCuOnCu
Geom2dGcc_LiCuOnCu = Geom2dGcc_Type2.Geom2dGcc_LiCuOnCu
Geom2dGcc_CuPtOnCu = Geom2dGcc_Type2.Geom2dGcc_CuPtOnCu
Geom2dGcc_CuCuOnLi = Geom2dGcc_Type2.Geom2dGcc_CuCuOnLi
Geom2dGcc_CiCuOnLi = Geom2dGcc_Type2.Geom2dGcc_CiCuOnLi
Geom2dGcc_LiCuOnLi = Geom2dGcc_Type2.Geom2dGcc_LiCuOnLi
Geom2dGcc_CuPtOnLi = Geom2dGcc_Type2.Geom2dGcc_CuPtOnLi
Geom2dGcc_CuCuOnCi = Geom2dGcc_Type2.Geom2dGcc_CuCuOnCi
Geom2dGcc_CiCuOnCi = Geom2dGcc_Type2.Geom2dGcc_CiCuOnCi
Geom2dGcc_LiCuOnCi = Geom2dGcc_Type2.Geom2dGcc_LiCuOnCi
Geom2dGcc_CuPtOnCi = Geom2dGcc_Type2.Geom2dGcc_CuPtOnCi

class Geom2dGcc_Type3(IntEnum):
	Geom2dGcc_CuCu = 0
	Geom2dGcc_CiCu = 1
Geom2dGcc_CuCu = Geom2dGcc_Type3.Geom2dGcc_CuCu
Geom2dGcc_CiCu = Geom2dGcc_Type3.Geom2dGcc_CiCu

class Geom2dGcc_Type1(IntEnum):
	Geom2dGcc_CuCuCu = 0
	Geom2dGcc_CiCuCu = 1
	Geom2dGcc_CiCiCu = 2
	Geom2dGcc_CiLiCu = 3
	Geom2dGcc_LiLiCu = 4
	Geom2dGcc_LiCuCu = 5
Geom2dGcc_CuCuCu = Geom2dGcc_Type1.Geom2dGcc_CuCuCu
Geom2dGcc_CiCuCu = Geom2dGcc_Type1.Geom2dGcc_CiCuCu
Geom2dGcc_CiCiCu = Geom2dGcc_Type1.Geom2dGcc_CiCiCu
Geom2dGcc_CiLiCu = Geom2dGcc_Type1.Geom2dGcc_CiLiCu
Geom2dGcc_LiLiCu = Geom2dGcc_Type1.Geom2dGcc_LiLiCu
Geom2dGcc_LiCuCu = Geom2dGcc_Type1.Geom2dGcc_LiCuCu

class geom2dgcc(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    @staticmethod
    def Enclosed(*args) -> "Geom2dGcc_QualifiedCurve":
        r"""
        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: opencascade::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

        Returns
        -------
        Geom2dGcc_QualifiedCurve

        """
        return _Geom2dGcc.geom2dgcc_Enclosed(*args)

    @staticmethod
    def Enclosing(*args) -> "Geom2dGcc_QualifiedCurve":
        r"""
        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: opencascade::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

        Returns
        -------
        Geom2dGcc_QualifiedCurve

        """
        return _Geom2dGcc.geom2dgcc_Enclosing(*args)

    @staticmethod
    def Outside(*args) -> "Geom2dGcc_QualifiedCurve":
        r"""
        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: opencascade::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

        Returns
        -------
        Geom2dGcc_QualifiedCurve

        """
        return _Geom2dGcc.geom2dgcc_Outside(*args)

    @staticmethod
    def Unqualified(*args) -> "Geom2dGcc_QualifiedCurve":
        r"""
        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: opencascade::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

        Returns
        -------
        Geom2dGcc_QualifiedCurve

        """
        return _Geom2dGcc.geom2dgcc_Unqualified(*args)

    __repr__ = _dumps_object


    def __init__(self):
        _Geom2dGcc.geom2dgcc_swiginit(self, _Geom2dGcc.new_geom2dgcc())
    __swig_destroy__ = _Geom2dGcc.delete_geom2dgcc

# Register geom2dgcc in _Geom2dGcc:
_Geom2dGcc.geom2dgcc_swigregister(geom2dgcc)

def geom2dgcc_Enclosed(*args) -> "Geom2dGcc_QualifiedCurve":
    r"""
    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: opencascade::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

    Returns
    -------
    Geom2dGcc_QualifiedCurve

    """
    return _Geom2dGcc.geom2dgcc_Enclosed(*args)

def geom2dgcc_Enclosing(*args) -> "Geom2dGcc_QualifiedCurve":
    r"""
    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: opencascade::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

    Returns
    -------
    Geom2dGcc_QualifiedCurve

    """
    return _Geom2dGcc.geom2dgcc_Enclosing(*args)

def geom2dgcc_Outside(*args) -> "Geom2dGcc_QualifiedCurve":
    r"""
    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: opencascade::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

    Returns
    -------
    Geom2dGcc_QualifiedCurve

    """
    return _Geom2dGcc.geom2dgcc_Outside(*args)

def geom2dgcc_Unqualified(*args) -> "Geom2dGcc_QualifiedCurve":
    r"""
    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: opencascade::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

    Returns
    -------
    Geom2dGcc_QualifiedCurve

    """
    return _Geom2dGcc.geom2dgcc_Unqualified(*args)

class Geom2dGcc_Circ2d2TanOn(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

        Returns
        -------
        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: Geom2d_Point
        OnCurve: Geom2dAdaptor_Curve
        Tolerance: float
        Param1: float
        ParamOn: float

        Returns
        -------
        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: Geom2d_Point
        Point2: Geom2d_Point
        OnCurve: Geom2dAdaptor_Curve
        Tolerance: float

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2d2TanOn(*args))

    def CenterOn3(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_CenterOn3(self, *args)

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        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.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_IsTheSame1(self, *args)

    def IsTheSame2(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_IsTheSame2(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        This method returns the number of solutions. notdone is raised if the algorithm failed.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_NbSolutions(self, *args)

    def Results(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Circ: GccAna_Circ2d2TanOn

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        Circ: Geom2dGcc_Circ2d2TanOnGeo

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_Results(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_Tangency2(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOn_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2d2TanOn

# Register Geom2dGcc_Circ2d2TanOn in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2d2TanOn_swigregister(Geom2dGcc_Circ2d2TanOn)

class Geom2dGcc_Circ2d2TanOnGeo(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

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

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

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

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

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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2d2TanOnGeo(*args))

    def CenterOn3(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_CenterOn3(self, *args)

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        This method returns true if the construction algorithm succeeded.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_IsTheSame1(self, *args)

    def IsTheSame2(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_IsTheSame2(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        This method returns the number of solutions. it raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_NbSolutions(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_Tangency2(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2d2TanOnGeo

# Register Geom2dGcc_Circ2d2TanOnGeo in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2d2TanOnGeo_swigregister(Geom2dGcc_Circ2d2TanOnGeo)

class Geom2dGcc_Circ2d2TanOnIter(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

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

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

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

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

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

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

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

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

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

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

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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2d2TanOnIter(*args))

    def CenterOn3(self, *args) -> "void":
        r"""
        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
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_CenterOn3(self, *args)

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        This method returns true if the construction algorithm succeeded.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        It raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_IsTheSame1(self, *args)

    def IsTheSame2(self, *args) -> "Standard_Boolean":
        r"""
        It raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_IsTheSame2(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        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
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_Tangency2(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        Returns the solution. it raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Qualif1: GccEnt_Position
        Qualif2: GccEnt_Position

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2d2TanOnIter

# Register Geom2dGcc_Circ2d2TanOnIter in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2d2TanOnIter_swigregister(Geom2dGcc_Circ2d2TanOnIter)

class Geom2dGcc_Circ2d2TanRad(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        No available documentation.

        Parameters
        ----------
        Qualified1: Geom2dGcc_QualifiedCurve
        Qualified2: Geom2dGcc_QualifiedCurve
        Radius: float
        Tolerance: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        Qualified1: Geom2dGcc_QualifiedCurve
        Point: Geom2d_Point
        Radius: float
        Tolerance: float

        Returns
        -------
        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: Geom2d_Point
        Point2: Geom2d_Point
        Radius: float
        Tolerance: float

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2d2TanRad(*args))

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        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.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_IsTheSame1(self, *args)

    def IsTheSame2(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_IsTheSame2(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        This method returns the number of solutions. notdone is raised if the algorithm failed. exceptions stdfail_notdone if the construction fails.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_NbSolutions(self, *args)

    def Results(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Circ: GccAna_Circ2d2TanRad

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        Circ: Geom2dGcc_Circ2d2TanRadGeo

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_Results(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_Tangency2(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRad_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2d2TanRad

# Register Geom2dGcc_Circ2d2TanRad in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2d2TanRad_swigregister(Geom2dGcc_Circ2d2TanRad)

class Geom2dGcc_Circ2d2TanRadGeo(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

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

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

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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2d2TanRadGeo(*args))

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        This method returns true if the algorithm succeeded.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_IsTheSame1(self, *args)

    def IsTheSame2(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_IsTheSame2(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        This method returns the number of solutions. it raises notdone if the algorithm failed.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_NbSolutions(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_Tangency2(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2d2TanRadGeo

# Register Geom2dGcc_Circ2d2TanRadGeo in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2d2TanRadGeo_swigregister(Geom2dGcc_Circ2d2TanRadGeo)

class Geom2dGcc_Circ2d3Tan(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

        Returns
        -------
        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: Geom2d_Point
        Tolerance: float
        Param1: float
        Param2: float

        Returns
        -------
        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: Geom2d_Point
        Point2: Geom2d_Point
        Tolerance: float
        Param1: float

        Returns
        -------
        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: Geom2d_Point
        Point2: Geom2d_Point
        Point3: Geom2d_Point
        Tolerance: float

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2d3Tan_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2d3Tan(*args))

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        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.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        Returns true if the solution is equal to the first argument.

        Parameters
        ----------
        Index: int

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_IsTheSame1(self, *args)

    def IsTheSame2(self, *args) -> "Standard_Boolean":
        r"""
        Returns true if the solution is equal to the second argument.

        Parameters
        ----------
        Index: int

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_IsTheSame2(self, *args)

    def IsTheSame3(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_IsTheSame3(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        This method returns the number of solutions. notdone is raised if the algorithm failed.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_NbSolutions(self, *args)

    def Results(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Circ: GccAna_Circ2d3Tan
        Rank1: int
        Rank2: int
        Rank3: int

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_Results(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_Tangency2(self, *args)

    def Tangency3(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_Tangency3(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3Tan_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2d3Tan

# Register Geom2dGcc_Circ2d3Tan in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2d3Tan_swigregister(Geom2dGcc_Circ2d3Tan)

class Geom2dGcc_Circ2d3TanIter(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

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

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

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

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

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

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

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

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

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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2d3TanIter(*args))

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        This method returns true if the construction algorithm succeeded.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        It raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_IsTheSame1(self, *args)

    def IsTheSame2(self, *args) -> "Standard_Boolean":
        r"""
        It raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_IsTheSame2(self, *args)

    def IsTheSame3(self, *args) -> "Standard_Boolean":
        r"""
        It raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_IsTheSame3(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        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
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_Tangency2(self, *args)

    def Tangency3(self, *args) -> "void":
        r"""
        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
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_Tangency3(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        Returns the solution. it raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Qualif1: GccEnt_Position
        Qualif2: GccEnt_Position
        Qualif3: GccEnt_Position

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2d3TanIter_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2d3TanIter

# Register Geom2dGcc_Circ2d3TanIter in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2d3TanIter_swigregister(Geom2dGcc_Circ2d3TanIter)

class Geom2dGcc_Circ2dTanCen(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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: Geom2d_Point
        Tolerance: float

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2dTanCen_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2dTanCen(*args))

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        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.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCen_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCen_IsTheSame1(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        Returns the number of circles, representing solutions computed by this algorithm. exceptions stdfail_notdone if the construction fails.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCen_NbSolutions(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCen_Tangency1(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCen_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCen_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2dTanCen

# Register Geom2dGcc_Circ2dTanCen in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2dTanCen_swigregister(Geom2dGcc_Circ2dTanCen)

class Geom2dGcc_Circ2dTanCenGeo(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2dTanCenGeo_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2dTanCenGeo(*args))

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        This method returns true if the construction algorithm succeeded.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCenGeo_IsDone(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        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.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCenGeo_NbSolutions(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCenGeo_Tangency1(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCenGeo_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Index: int
        Qualif1: GccEnt_Position

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanCenGeo_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2dTanCenGeo

# Register Geom2dGcc_Circ2dTanCenGeo in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2dTanCenGeo_swigregister(Geom2dGcc_Circ2dTanCenGeo)

class Geom2dGcc_Circ2dTanOnRad(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

        Returns
        -------
        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: opencascade::handle<geom2d_curve> mycurveon = ... ; geom2dadaptor_curve oncurv ( mycurveon ) ; the algorithm is then constructed with this object: opencascade::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: Geom2d_Point
        OnCurv: Geom2dAdaptor_Curve
        Radius: float
        Tolerance: float

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2dTanOnRad(*args))

    def CenterOn3(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_CenterOn3(self, *args)

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        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.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_IsTheSame1(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        Returns the number of circles, representing solutions computed by this algorithm. exceptions: stdfail_notdone if the construction fails.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_NbSolutions(self, *args)

    def Results(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Circ: GccAna_Circ2dTanOnRad

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        Circ: Geom2dGcc_Circ2dTanOnRadGeo

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_Results(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_Tangency1(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2dTanOnRad

# Register Geom2dGcc_Circ2dTanOnRad in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2dTanOnRad_swigregister(Geom2dGcc_Circ2dTanOnRad)

class Geom2dGcc_Circ2dTanOnRadGeo(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

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

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

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

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

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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Circ2dTanOnRadGeo(*args))

    def CenterOn3(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_CenterOn3(self, *args)

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        This method returns true if the construction algorithm succeeded.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_IsDone(self, *args)

    def IsTheSame1(self, *args) -> "Standard_Boolean":
        r"""
        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

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_IsTheSame1(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        This method returns the number of solutions. it raises notdone if the construction algorithm didn't succeed.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_NbSolutions(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_Tangency1(self, *args)

    def ThisSolution(self, *args) -> "gp_Circ2d":
        r"""
        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

        Returns
        -------
        gp_Circ2d

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Index: int
        Qualif1: GccEnt_Position

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Circ2dTanOnRadGeo

# Register Geom2dGcc_Circ2dTanOnRadGeo in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Circ2dTanOnRadGeo_swigregister(Geom2dGcc_Circ2dTanOnRadGeo)

class Geom2dGcc_CurveTool(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    @staticmethod
    def D1(*args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve
        U: float
        P: gp_Pnt2d
        T: gp_Vec2d

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_CurveTool_D1(*args)

    @staticmethod
    def D2(*args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve
        U: float
        P: gp_Pnt2d
        T: gp_Vec2d
        N: gp_Vec2d

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_CurveTool_D2(*args)

    @staticmethod
    def D3(*args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve
        U: float
        P: gp_Pnt2d
        T: gp_Vec2d
        N: gp_Vec2d
        dN: gp_Vec2d

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_CurveTool_D3(*args)

    @staticmethod
    def EpsX(*args) -> "Standard_Real":
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve
        Tol: float

        Returns
        -------
        float

        """
        return _Geom2dGcc.Geom2dGcc_CurveTool_EpsX(*args)

    @staticmethod
    def FirstParameter(*args) -> "Standard_Real":
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve

        Returns
        -------
        float

        """
        return _Geom2dGcc.Geom2dGcc_CurveTool_FirstParameter(*args)

    @staticmethod
    def LastParameter(*args) -> "Standard_Real":
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve

        Returns
        -------
        float

        """
        return _Geom2dGcc.Geom2dGcc_CurveTool_LastParameter(*args)

    @staticmethod
    def NbSamples(*args) -> "Standard_Integer":
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_CurveTool_NbSamples(*args)

    @staticmethod
    def Value(*args) -> "gp_Pnt2d":
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve
        X: float

        Returns
        -------
        gp_Pnt2d

        """
        return _Geom2dGcc.Geom2dGcc_CurveTool_Value(*args)

    __repr__ = _dumps_object


    def __init__(self):
        _Geom2dGcc.Geom2dGcc_CurveTool_swiginit(self, _Geom2dGcc.new_Geom2dGcc_CurveTool())
    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_CurveTool

# Register Geom2dGcc_CurveTool in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_CurveTool_swigregister(Geom2dGcc_CurveTool)

def Geom2dGcc_CurveTool_D1(*args) -> "void":
    r"""
    No available documentation.

    Parameters
    ----------
    C: Geom2dAdaptor_Curve
    U: float
    P: gp_Pnt2d
    T: gp_Vec2d

    Returns
    -------
    None

    """
    return _Geom2dGcc.Geom2dGcc_CurveTool_D1(*args)

def Geom2dGcc_CurveTool_D2(*args) -> "void":
    r"""
    No available documentation.

    Parameters
    ----------
    C: Geom2dAdaptor_Curve
    U: float
    P: gp_Pnt2d
    T: gp_Vec2d
    N: gp_Vec2d

    Returns
    -------
    None

    """
    return _Geom2dGcc.Geom2dGcc_CurveTool_D2(*args)

def Geom2dGcc_CurveTool_D3(*args) -> "void":
    r"""
    No available documentation.

    Parameters
    ----------
    C: Geom2dAdaptor_Curve
    U: float
    P: gp_Pnt2d
    T: gp_Vec2d
    N: gp_Vec2d
    dN: gp_Vec2d

    Returns
    -------
    None

    """
    return _Geom2dGcc.Geom2dGcc_CurveTool_D3(*args)

def Geom2dGcc_CurveTool_EpsX(*args) -> "Standard_Real":
    r"""
    No available documentation.

    Parameters
    ----------
    C: Geom2dAdaptor_Curve
    Tol: float

    Returns
    -------
    float

    """
    return _Geom2dGcc.Geom2dGcc_CurveTool_EpsX(*args)

def Geom2dGcc_CurveTool_FirstParameter(*args) -> "Standard_Real":
    r"""
    No available documentation.

    Parameters
    ----------
    C: Geom2dAdaptor_Curve

    Returns
    -------
    float

    """
    return _Geom2dGcc.Geom2dGcc_CurveTool_FirstParameter(*args)

def Geom2dGcc_CurveTool_LastParameter(*args) -> "Standard_Real":
    r"""
    No available documentation.

    Parameters
    ----------
    C: Geom2dAdaptor_Curve

    Returns
    -------
    float

    """
    return _Geom2dGcc.Geom2dGcc_CurveTool_LastParameter(*args)

def Geom2dGcc_CurveTool_NbSamples(*args) -> "Standard_Integer":
    r"""
    No available documentation.

    Parameters
    ----------
    C: Geom2dAdaptor_Curve

    Returns
    -------
    int

    """
    return _Geom2dGcc.Geom2dGcc_CurveTool_NbSamples(*args)

def Geom2dGcc_CurveTool_Value(*args) -> "gp_Pnt2d":
    r"""
    No available documentation.

    Parameters
    ----------
    C: Geom2dAdaptor_Curve
    X: float

    Returns
    -------
    gp_Pnt2d

    """
    return _Geom2dGcc.Geom2dGcc_CurveTool_Value(*args)

class Geom2dGcc_FunctionTanCirCu(OCC.Core.math.math_FunctionWithDerivative):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        No available documentation.

        Parameters
        ----------
        Circ: gp_Circ2d
        Curv: Geom2dAdaptor_Curve

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_FunctionTanCirCu_swiginit(self, _Geom2dGcc.new_Geom2dGcc_FunctionTanCirCu(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_FunctionTanCirCu

# Register Geom2dGcc_FunctionTanCirCu in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_FunctionTanCirCu_swigregister(Geom2dGcc_FunctionTanCirCu)

class Geom2dGcc_FunctionTanCuCu(OCC.Core.math.math_FunctionSetWithDerivatives):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        No available documentation.

        Parameters
        ----------
        Curv1: Geom2dAdaptor_Curve
        Curv2: Geom2dAdaptor_Curve

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        Circ1: gp_Circ2d
        Curv2: Geom2dAdaptor_Curve

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_FunctionTanCuCu_swiginit(self, _Geom2dGcc.new_Geom2dGcc_FunctionTanCuCu(*args))

    def InitDerivative(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        X: math_Vector
        Point1: gp_Pnt2d
        Point2: gp_Pnt2d
        Tan1: gp_Vec2d
        Tan2: gp_Vec2d
        D21: gp_Vec2d
        D22: gp_Vec2d

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_FunctionTanCuCu_InitDerivative(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_FunctionTanCuCu

# Register Geom2dGcc_FunctionTanCuCu in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_FunctionTanCuCu_swigregister(Geom2dGcc_FunctionTanCuCu)

class Geom2dGcc_FunctionTanCuCuOnCu(OCC.Core.math.math_FunctionSetWithDerivatives):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        No available documentation.

        Parameters
        ----------
        C1: Geom2dAdaptor_Curve
        C2: Geom2dAdaptor_Curve
        OnCi: gp_Circ2d
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        C1: gp_Circ2d
        C2: Geom2dAdaptor_Curve
        OnCi: gp_Circ2d
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        L1: gp_Lin2d
        C2: Geom2dAdaptor_Curve
        OnCi: gp_Circ2d
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        C1: Geom2dAdaptor_Curve
        P2: gp_Pnt2d
        OnCi: gp_Circ2d
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        C1: Geom2dAdaptor_Curve
        C2: Geom2dAdaptor_Curve
        OnLi: gp_Lin2d
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        C1: gp_Circ2d
        C2: Geom2dAdaptor_Curve
        OnLi: gp_Lin2d
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        L1: gp_Lin2d
        C2: Geom2dAdaptor_Curve
        OnLi: gp_Lin2d
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        C1: Geom2dAdaptor_Curve
        P2: gp_Pnt2d
        OnLi: gp_Lin2d
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        C1: Geom2dAdaptor_Curve
        C2: Geom2dAdaptor_Curve
        OnCu: Geom2dAdaptor_Curve
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        C1: gp_Circ2d
        C2: Geom2dAdaptor_Curve
        OnCu: Geom2dAdaptor_Curve
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        L1: gp_Lin2d
        C2: Geom2dAdaptor_Curve
        OnCu: Geom2dAdaptor_Curve
        Rad: float

        Returns
        -------
        None
        No available documentation.

        Parameters
        ----------
        C1: Geom2dAdaptor_Curve
        P1: gp_Pnt2d
        OnCu: Geom2dAdaptor_Curve
        Rad: float

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_FunctionTanCuCuOnCu_swiginit(self, _Geom2dGcc.new_Geom2dGcc_FunctionTanCuCuOnCu(*args))

    def InitDerivative(self, *args) -> "void":
        r"""
        No available documentation.

        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_FunctionTanCuCuOnCu_InitDerivative(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_FunctionTanCuCuOnCu

# Register Geom2dGcc_FunctionTanCuCuOnCu in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_FunctionTanCuCuOnCu_swigregister(Geom2dGcc_FunctionTanCuCuOnCu)

class Geom2dGcc_FunctionTanCuPnt(OCC.Core.math.math_FunctionWithDerivative):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        No available documentation.

        Parameters
        ----------
        C: Geom2dAdaptor_Curve
        Point: gp_Pnt2d

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_FunctionTanCuPnt_swiginit(self, _Geom2dGcc.new_Geom2dGcc_FunctionTanCuPnt(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_FunctionTanCuPnt

# Register Geom2dGcc_FunctionTanCuPnt in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_FunctionTanCuPnt_swigregister(Geom2dGcc_FunctionTanCuPnt)

class Geom2dGcc_FunctionTanObl(OCC.Core.math.math_FunctionWithDerivative):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        No available documentation.

        Parameters
        ----------
        Curve: Geom2dAdaptor_Curve
        Dir: gp_Dir2d

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_FunctionTanObl_swiginit(self, _Geom2dGcc.new_Geom2dGcc_FunctionTanObl(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_FunctionTanObl

# Register Geom2dGcc_FunctionTanObl in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_FunctionTanObl_swigregister(Geom2dGcc_FunctionTanObl)

class Geom2dGcc_Lin2d2Tan(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

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

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

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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Lin2d2Tan_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Lin2d2Tan(*args))

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        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.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2Tan_IsDone(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        Returns the number of lines, representing solutions computed by this algorithm. exceptions stdfail_notdone if the construction fails.r.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2Tan_NbSolutions(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2Tan_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2Tan_Tangency2(self, *args)

    def ThisSolution(self, *args) -> "gp_Lin2d":
        r"""
        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

        Returns
        -------
        gp_Lin2d

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2Tan_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2Tan_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Lin2d2Tan

# Register Geom2dGcc_Lin2d2Tan in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Lin2d2Tan_swigregister(Geom2dGcc_Lin2d2Tan)

class Geom2dGcc_Lin2d2TanIter(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

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

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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Lin2d2TanIter_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Lin2d2TanIter(*args))

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        This methode returns true when there is a solution and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2TanIter_IsDone(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2TanIter_Tangency1(self, *args)

    def Tangency2(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2TanIter_Tangency2(self, *args)

    def ThisSolution(self, *args) -> "gp_Lin2d":
        r"""
        Returns the solution.

        Returns
        -------
        gp_Lin2d

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2TanIter_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Qualif1: GccEnt_Position
        Qualif2: GccEnt_Position

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Lin2d2TanIter_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Lin2d2TanIter

# Register Geom2dGcc_Lin2d2TanIter in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Lin2d2TanIter_swigregister(Geom2dGcc_Lin2d2TanIter)

class Geom2dGcc_Lin2dTanObl(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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

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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Lin2dTanObl_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Lin2dTanObl(*args))

    def Intersection2(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanObl_Intersection2(self, *args)

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        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.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanObl_IsDone(self, *args)

    def NbSolutions(self, *args) -> "Standard_Integer":
        r"""
        Returns the number of lines, representing solutions computed by this algorithm. exceptions stdfail_notdone if the construction fails.

        Returns
        -------
        int

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanObl_NbSolutions(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        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
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanObl_Tangency1(self, *args)

    def ThisSolution(self, *args) -> "gp_Lin2d":
        r"""
        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

        Returns
        -------
        gp_Lin2d

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanObl_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        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

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanObl_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    @methodnotwrapped
    def IsParallel2(self):
    	pass

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Lin2dTanObl

# Register Geom2dGcc_Lin2dTanObl in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Lin2dTanObl_swigregister(Geom2dGcc_Lin2dTanObl)

class Geom2dGcc_Lin2dTanOblIter(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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,optional
        	default value is 0

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_Lin2dTanOblIter_swiginit(self, _Geom2dGcc.new_Geom2dGcc_Lin2dTanOblIter(*args))

    def Intersection2(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanOblIter_Intersection2(self, *args)

    def IsDone(self, *args) -> "Standard_Boolean":
        r"""
        This method returns true when there is a solution and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanOblIter_IsDone(self, *args)

    def IsParallel2(self, *args) -> "Standard_Boolean":
        r"""
        No available documentation.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanOblIter_IsParallel2(self, *args)

    def Tangency1(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        PntSol: gp_Pnt2d

        Returns
        -------
        ParSol: float
        ParArg: float

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanOblIter_Tangency1(self, *args)

    def ThisSolution(self, *args) -> "gp_Lin2d":
        r"""
        No available documentation.

        Returns
        -------
        gp_Lin2d

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanOblIter_ThisSolution(self, *args)

    def WhichQualifier(self, *args) -> "void":
        r"""
        No available documentation.

        Parameters
        ----------
        Qualif1: GccEnt_Position

        Returns
        -------
        None

        """
        return _Geom2dGcc.Geom2dGcc_Lin2dTanOblIter_WhichQualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_Lin2dTanOblIter

# Register Geom2dGcc_Lin2dTanOblIter in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_Lin2dTanOblIter_swigregister(Geom2dGcc_Lin2dTanOblIter)

class Geom2dGcc_QCurve(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        No available documentation.

        Parameters
        ----------
        Curve: Geom2dAdaptor_Curve
        Qualifier: GccEnt_Position

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_QCurve_swiginit(self, _Geom2dGcc.new_Geom2dGcc_QCurve(*args))

    def IsEnclosed(self, *args) -> "Standard_Boolean":
        r"""
        Returns true if the solution is enclosed in the curv and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_QCurve_IsEnclosed(self, *args)

    def IsEnclosing(self, *args) -> "Standard_Boolean":
        r"""
        Returns true if the solution is enclosing the curv and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_QCurve_IsEnclosing(self, *args)

    def IsOutside(self, *args) -> "Standard_Boolean":
        r"""
        Returns true if the solution is outside the curv and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_QCurve_IsOutside(self, *args)

    def IsUnqualified(self, *args) -> "Standard_Boolean":
        r"""
        Returns true if the solution is unqualified and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_QCurve_IsUnqualified(self, *args)

    def Qualified(self, *args) -> "Geom2dAdaptor_Curve":
        r"""
        No available documentation.

        Returns
        -------
        Geom2dAdaptor_Curve

        """
        return _Geom2dGcc.Geom2dGcc_QCurve_Qualified(self, *args)

    def Qualifier(self, *args) -> "GccEnt_Position":
        r"""
        No available documentation.

        Returns
        -------
        GccEnt_Position

        """
        return _Geom2dGcc.Geom2dGcc_QCurve_Qualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_QCurve

# Register Geom2dGcc_QCurve in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_QCurve_swigregister(Geom2dGcc_QCurve)

class Geom2dGcc_QualifiedCurve(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        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: opencascade::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

        Returns
        -------
        None

        """
        _Geom2dGcc.Geom2dGcc_QualifiedCurve_swiginit(self, _Geom2dGcc.new_Geom2dGcc_QualifiedCurve(*args))

    def IsEnclosed(self, *args) -> "Standard_Boolean":
        r"""
        It returns true if the solution is enclosed in the curv and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_QualifiedCurve_IsEnclosed(self, *args)

    def IsEnclosing(self, *args) -> "Standard_Boolean":
        r"""
        It returns true if the solution is enclosing the curv and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_QualifiedCurve_IsEnclosing(self, *args)

    def IsOutside(self, *args) -> "Standard_Boolean":
        r"""
        It returns true if the solution is outside the curv and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_QualifiedCurve_IsOutside(self, *args)

    def IsUnqualified(self, *args) -> "Standard_Boolean":
        r"""
        Returns true if the solution is unqualified and false in the other cases.

        Returns
        -------
        bool

        """
        return _Geom2dGcc.Geom2dGcc_QualifiedCurve_IsUnqualified(self, *args)

    def Qualified(self, *args) -> "Geom2dAdaptor_Curve":
        r"""
        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(); opencascade::handle<geom2d_curve> = myadaptedcurve.curve();.

        Returns
        -------
        Geom2dAdaptor_Curve

        """
        return _Geom2dGcc.Geom2dGcc_QualifiedCurve_Qualified(self, *args)

    def Qualifier(self, *args) -> "GccEnt_Position":
        r"""
        Returns - the qualifier of this qualified curve if it is enclosing, enclosed or outside, or - gccent_noqualifier if it is unqualified.

        Returns
        -------
        GccEnt_Position

        """
        return _Geom2dGcc.Geom2dGcc_QualifiedCurve_Qualifier(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dGcc.delete_Geom2dGcc_QualifiedCurve

# Register Geom2dGcc_QualifiedCurve in _Geom2dGcc:
_Geom2dGcc.Geom2dGcc_QualifiedCurve_swigregister(Geom2dGcc_QualifiedCurve)


@classnotwrapped
class Geom2dGcc_FunctionTanCuCuCu:
	pass






