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

"""
Geom2dHatch module, see official documentation at
https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_geom2dhatch.html
"""

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if getattr(globals().get("__spec__"), "parent", None) or __package__ or "." in __name__:
    from . import _Geom2dHatch
else:
    import _Geom2dHatch

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 == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(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__ = _Geom2dHatch.delete_SwigPyIterator

    def value(self):
        return _Geom2dHatch.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _Geom2dHatch.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _Geom2dHatch.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _Geom2dHatch.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _Geom2dHatch.SwigPyIterator_equal(self, x)

    def copy(self):
        return _Geom2dHatch.SwigPyIterator_copy(self)

    def next(self):
        return _Geom2dHatch.SwigPyIterator_next(self)

    def __next__(self):
        return _Geom2dHatch.SwigPyIterator___next__(self)

    def previous(self):
        return _Geom2dHatch.SwigPyIterator_previous(self)

    def advance(self, n):
        return _Geom2dHatch.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _Geom2dHatch.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _Geom2dHatch.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _Geom2dHatch.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _Geom2dHatch.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _Geom2dHatch.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _Geom2dHatch.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self

# Register SwigPyIterator in _Geom2dHatch:
_Geom2dHatch.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, method_name, class_name):
    return _Geom2dHatch.process_exception(error, method_name, class_name)

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

class ios_base(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")
    __repr__ = _swig_repr
    erase_event = _Geom2dHatch.ios_base_erase_event
    imbue_event = _Geom2dHatch.ios_base_imbue_event
    copyfmt_event = _Geom2dHatch.ios_base_copyfmt_event

    def register_callback(self, __fn, __index):
        return _Geom2dHatch.ios_base_register_callback(self, __fn, __index)

    def flags(self, *args):
        return _Geom2dHatch.ios_base_flags(self, *args)

    def setf(self, *args):
        return _Geom2dHatch.ios_base_setf(self, *args)

    def unsetf(self, __mask):
        return _Geom2dHatch.ios_base_unsetf(self, __mask)

    def precision(self, *args):
        return _Geom2dHatch.ios_base_precision(self, *args)

    def width(self, *args):
        return _Geom2dHatch.ios_base_width(self, *args)

    @staticmethod
    def sync_with_stdio(__sync=True):
        return _Geom2dHatch.ios_base_sync_with_stdio(__sync)

    def imbue(self, __loc):
        return _Geom2dHatch.ios_base_imbue(self, __loc)

    def getloc(self):
        return _Geom2dHatch.ios_base_getloc(self)

    @staticmethod
    def xalloc():
        return _Geom2dHatch.ios_base_xalloc()

    def iword(self, __ix):
        return _Geom2dHatch.ios_base_iword(self, __ix)

    def pword(self, __ix):
        return _Geom2dHatch.ios_base_pword(self, __ix)
    __swig_destroy__ = _Geom2dHatch.delete_ios_base

# Register ios_base in _Geom2dHatch:
_Geom2dHatch.ios_base_swigregister(ios_base)
cvar = _Geom2dHatch.cvar
ios_base.boolalpha = _Geom2dHatch.cvar.ios_base_boolalpha
ios_base.dec = _Geom2dHatch.cvar.ios_base_dec
ios_base.fixed = _Geom2dHatch.cvar.ios_base_fixed
ios_base.hex = _Geom2dHatch.cvar.ios_base_hex
ios_base.internal = _Geom2dHatch.cvar.ios_base_internal
ios_base.left = _Geom2dHatch.cvar.ios_base_left
ios_base.oct = _Geom2dHatch.cvar.ios_base_oct
ios_base.right = _Geom2dHatch.cvar.ios_base_right
ios_base.scientific = _Geom2dHatch.cvar.ios_base_scientific
ios_base.showbase = _Geom2dHatch.cvar.ios_base_showbase
ios_base.showpoint = _Geom2dHatch.cvar.ios_base_showpoint
ios_base.showpos = _Geom2dHatch.cvar.ios_base_showpos
ios_base.skipws = _Geom2dHatch.cvar.ios_base_skipws
ios_base.unitbuf = _Geom2dHatch.cvar.ios_base_unitbuf
ios_base.uppercase = _Geom2dHatch.cvar.ios_base_uppercase
ios_base.adjustfield = _Geom2dHatch.cvar.ios_base_adjustfield
ios_base.basefield = _Geom2dHatch.cvar.ios_base_basefield
ios_base.floatfield = _Geom2dHatch.cvar.ios_base_floatfield
ios_base.badbit = _Geom2dHatch.cvar.ios_base_badbit
ios_base.eofbit = _Geom2dHatch.cvar.ios_base_eofbit
ios_base.failbit = _Geom2dHatch.cvar.ios_base_failbit
ios_base.goodbit = _Geom2dHatch.cvar.ios_base_goodbit
ios_base.app = _Geom2dHatch.cvar.ios_base_app
ios_base.ate = _Geom2dHatch.cvar.ios_base_ate
ios_base.binary = _Geom2dHatch.cvar.ios_base_binary
ios_base.ios_base_in = _Geom2dHatch.cvar.ios_base_ios_base_in
ios_base.out = _Geom2dHatch.cvar.ios_base_out
ios_base.trunc = _Geom2dHatch.cvar.ios_base_trunc
ios_base.beg = _Geom2dHatch.cvar.ios_base_beg
ios_base.cur = _Geom2dHatch.cvar.ios_base_cur
ios_base.end = _Geom2dHatch.cvar.ios_base_end

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

    def rdstate(self):
        return _Geom2dHatch.ios_rdstate(self)

    def clear(self, *args):
        return _Geom2dHatch.ios_clear(self, *args)

    def setstate(self, __state):
        return _Geom2dHatch.ios_setstate(self, __state)

    def good(self):
        return _Geom2dHatch.ios_good(self)

    def eof(self):
        return _Geom2dHatch.ios_eof(self)

    def fail(self):
        return _Geom2dHatch.ios_fail(self)

    def bad(self):
        return _Geom2dHatch.ios_bad(self)

    def exceptions(self, *args):
        return _Geom2dHatch.ios_exceptions(self, *args)

    def __init__(self, __sb):
        _Geom2dHatch.ios_swiginit(self, _Geom2dHatch.new_ios(__sb))
    __swig_destroy__ = _Geom2dHatch.delete_ios

    def tie(self, *args):
        return _Geom2dHatch.ios_tie(self, *args)

    def rdbuf(self, *args):
        return _Geom2dHatch.ios_rdbuf(self, *args)

    def copyfmt(self, __rhs):
        return _Geom2dHatch.ios_copyfmt(self, __rhs)

    def fill(self, *args):
        return _Geom2dHatch.ios_fill(self, *args)

    def imbue(self, __loc):
        return _Geom2dHatch.ios_imbue(self, __loc)

    def narrow(self, __c, __dfault):
        return _Geom2dHatch.ios_narrow(self, __c, __dfault)

    def widen(self, __c):
        return _Geom2dHatch.ios_widen(self, __c)

# Register ios in _Geom2dHatch:
_Geom2dHatch.ios_swigregister(ios)
class ostream(ios):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, __sb):
        _Geom2dHatch.ostream_swiginit(self, _Geom2dHatch.new_ostream(__sb))
    __swig_destroy__ = _Geom2dHatch.delete_ostream

    def __lshift__(self, *args):
        return _Geom2dHatch.ostream___lshift__(self, *args)

    def put(self, __c):
        return _Geom2dHatch.ostream_put(self, __c)

    def write(self, __s, __n):
        return _Geom2dHatch.ostream_write(self, __s, __n)

    def flush(self):
        return _Geom2dHatch.ostream_flush(self)

    def tellp(self):
        return _Geom2dHatch.ostream_tellp(self)

    def seekp(self, *args):
        return _Geom2dHatch.ostream_seekp(self, *args)

# Register ostream in _Geom2dHatch:
_Geom2dHatch.ostream_swigregister(ostream)
class istream(ios):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, __sb):
        _Geom2dHatch.istream_swiginit(self, _Geom2dHatch.new_istream(__sb))
    __swig_destroy__ = _Geom2dHatch.delete_istream

    def __rshift__(self, *args):
        return _Geom2dHatch.istream___rshift__(self, *args)

    def gcount(self):
        return _Geom2dHatch.istream_gcount(self)

    def get(self, *args):
        return _Geom2dHatch.istream_get(self, *args)

    def getline(self, *args):
        return _Geom2dHatch.istream_getline(self, *args)

    def ignore(self, *args):
        return _Geom2dHatch.istream_ignore(self, *args)

    def peek(self):
        return _Geom2dHatch.istream_peek(self)

    def read(self, __s, __n):
        return _Geom2dHatch.istream_read(self, __s, __n)

    def readsome(self, __s, __n):
        return _Geom2dHatch.istream_readsome(self, __s, __n)

    def putback(self, __c):
        return _Geom2dHatch.istream_putback(self, __c)

    def unget(self):
        return _Geom2dHatch.istream_unget(self)

    def sync(self):
        return _Geom2dHatch.istream_sync(self)

    def tellg(self):
        return _Geom2dHatch.istream_tellg(self)

    def seekg(self, *args):
        return _Geom2dHatch.istream_seekg(self, *args)

# Register istream in _Geom2dHatch:
_Geom2dHatch.istream_swigregister(istream)
class iostream(istream, ostream):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, __sb):
        _Geom2dHatch.iostream_swiginit(self, _Geom2dHatch.new_iostream(__sb))
    __swig_destroy__ = _Geom2dHatch.delete_iostream

# Register iostream in _Geom2dHatch:
_Geom2dHatch.iostream_swigregister(iostream)
cin = cvar.cin
cout = cvar.cout
cerr = cvar.cerr
clog = cvar.clog

endl_cb_ptr = _Geom2dHatch.endl_cb_ptr
endl = _Geom2dHatch.endl
ends_cb_ptr = _Geom2dHatch.ends_cb_ptr
ends = _Geom2dHatch.ends
flush_cb_ptr = _Geom2dHatch.flush_cb_ptr
flush = _Geom2dHatch.flush
import OCC.Core.Standard
import OCC.Core.NCollection
import OCC.Core.gp
import OCC.Core.TColStd
import OCC.Core.TCollection
import OCC.Core.IntRes2d
import OCC.Core.TopAbs
import OCC.Core.Geom2dAdaptor
import OCC.Core.Adaptor2d
import OCC.Core.Geom2d
import OCC.Core.GeomAbs
import OCC.Core.TColgp
import OCC.Core.HatchGen
import OCC.Core.Geom2dInt
import OCC.Core.math
import OCC.Core.Message
import OCC.Core.OSD
import OCC.Core.IntCurve
import OCC.Core.Extrema
import OCC.Core.Adaptor3d
import OCC.Core.Geom
import OCC.Core.GeomAdaptor
import OCC.Core.Intf
import OCC.Core.Bnd
import OCC.Core.BVH

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



class Geom2dHatch_Hatchings(OCC.Core.NCollection.NCollection_BaseMap):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def begin(self):
        return _Geom2dHatch.Geom2dHatch_Hatchings_begin(self)

    def end(self):
        return _Geom2dHatch.Geom2dHatch_Hatchings_end(self)

    def cbegin(self):
        return _Geom2dHatch.Geom2dHatch_Hatchings_cbegin(self)

    def cend(self):
        return _Geom2dHatch.Geom2dHatch_Hatchings_cend(self)

    def __init__(self, *args):
        _Geom2dHatch.Geom2dHatch_Hatchings_swiginit(self, _Geom2dHatch.new_Geom2dHatch_Hatchings(*args))

    def Exchange(self, theOther):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Exchange(self, theOther)

    def Assign(self, theOther):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Assign(self, theOther)

    def Set(self, *args):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Set(self, *args)

    def ReSize(self, N):
        return _Geom2dHatch.Geom2dHatch_Hatchings_ReSize(self, N)

    def Bind(self, *args):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Bind(self, *args)

    def Bound(self, *args):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Bound(self, *args)

    def IsBound(self, theKey):
        return _Geom2dHatch.Geom2dHatch_Hatchings_IsBound(self, theKey)

    def UnBind(self, theKey):
        return _Geom2dHatch.Geom2dHatch_Hatchings_UnBind(self, theKey)

    def Seek(self, theKey):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Seek(self, theKey)

    def Find(self, *args):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Find(self, *args)

    def ChangeSeek(self, theKey):
        return _Geom2dHatch.Geom2dHatch_Hatchings_ChangeSeek(self, theKey)

    def ChangeFind(self, theKey):
        return _Geom2dHatch.Geom2dHatch_Hatchings_ChangeFind(self, theKey)

    def __call__(self, *args):
        return _Geom2dHatch.Geom2dHatch_Hatchings___call__(self, *args)

    def Clear(self, *args):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Clear(self, *args)
    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_Hatchings

    def Size(self):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Size(self)

    def Keys(self):
        return _Geom2dHatch.Geom2dHatch_Hatchings_Keys(self)

# Register Geom2dHatch_Hatchings in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_Hatchings_swigregister(Geom2dHatch_Hatchings)
class Geom2dHatch_MapOfElements(OCC.Core.NCollection.NCollection_BaseMap):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def begin(self):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_begin(self)

    def end(self):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_end(self)

    def cbegin(self):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_cbegin(self)

    def cend(self):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_cend(self)

    def __init__(self, *args):
        _Geom2dHatch.Geom2dHatch_MapOfElements_swiginit(self, _Geom2dHatch.new_Geom2dHatch_MapOfElements(*args))

    def Exchange(self, theOther):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Exchange(self, theOther)

    def Assign(self, theOther):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Assign(self, theOther)

    def Set(self, *args):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Set(self, *args)

    def ReSize(self, N):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_ReSize(self, N)

    def Bind(self, *args):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Bind(self, *args)

    def Bound(self, *args):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Bound(self, *args)

    def IsBound(self, theKey):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_IsBound(self, theKey)

    def UnBind(self, theKey):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_UnBind(self, theKey)

    def Seek(self, theKey):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Seek(self, theKey)

    def Find(self, *args):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Find(self, *args)

    def ChangeSeek(self, theKey):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_ChangeSeek(self, theKey)

    def ChangeFind(self, theKey):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_ChangeFind(self, theKey)

    def __call__(self, *args):
        return _Geom2dHatch.Geom2dHatch_MapOfElements___call__(self, *args)

    def Clear(self, *args):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Clear(self, *args)
    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_MapOfElements

    def Size(self):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Size(self)

    def Keys(self):
        return _Geom2dHatch.Geom2dHatch_MapOfElements_Keys(self)

# Register Geom2dHatch_MapOfElements in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_MapOfElements_swigregister(Geom2dHatch_MapOfElements)
class Geom2dHatch_Classifier(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"""
        Return
        -------
        None

        Description
        -----------
        Empty constructor, undefined algorithm.

        Parameters
        ----------
        F: Geom2dHatch_Elements
        P: gp_Pnt2d
        Tol: float

        Return
        -------
        None

        Description
        -----------
        Creates an algorithm to classify the Point P with Tolerance <T> on the face described by <F>.

        """
        _Geom2dHatch.Geom2dHatch_Classifier_swiginit(self, _Geom2dHatch.new_Geom2dHatch_Classifier(*args))

    def Edge(self, *args):
        r"""
        Return
        -------
        Geom2dAdaptor_Curve

        Description
        -----------
        Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point.

        """
        return _Geom2dHatch.Geom2dHatch_Classifier_Edge(self, *args)

    def EdgeParameter(self, *args):
        r"""
        Return
        -------
        float

        Description
        -----------
        Returns the parameter on Edge() used to determine the classification.

        """
        return _Geom2dHatch.Geom2dHatch_Classifier_EdgeParameter(self, *args)

    def NoWires(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns True if the face contains no wire. The state is IN.

        """
        return _Geom2dHatch.Geom2dHatch_Classifier_NoWires(self, *args)

    def Perform(self, *args):
        r"""

        Parameters
        ----------
        F: Geom2dHatch_Elements
        P: gp_Pnt2d
        Tol: float

        Return
        -------
        None

        Description
        -----------
        Classify the Point P with Tolerance <T> on the face described by <F>.

        """
        return _Geom2dHatch.Geom2dHatch_Classifier_Perform(self, *args)

    def Position(self, *args):
        r"""
        Return
        -------
        IntRes2d_Position

        Description
        -----------
        Returns the position of the point on the edge returned by Edge.

        """
        return _Geom2dHatch.Geom2dHatch_Classifier_Position(self, *args)

    def Rejected(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns True when the state was computed by a rejection. The state is OUT.

        """
        return _Geom2dHatch.Geom2dHatch_Classifier_Rejected(self, *args)

    def State(self, *args):
        r"""
        Return
        -------
        TopAbs_State

        Description
        -----------
        Returns the result of the classification.

        """
        return _Geom2dHatch.Geom2dHatch_Classifier_State(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_Classifier

# Register Geom2dHatch_Classifier in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_Classifier_swigregister(Geom2dHatch_Classifier)
class Geom2dHatch_Element(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"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        Parameters
        ----------
        Curve: Geom2dAdaptor_Curve
        Orientation: TopAbs_Orientation (optional, default to TopAbs_FORWARD)

        Return
        -------
        None

        Description
        -----------
        Creates an element.

        """
        _Geom2dHatch.Geom2dHatch_Element_swiginit(self, _Geom2dHatch.new_Geom2dHatch_Element(*args))

    def ChangeCurve(self, *args):
        r"""
        Return
        -------
        Geom2dAdaptor_Curve

        Description
        -----------
        Returns the curve associated to the element.

        """
        return _Geom2dHatch.Geom2dHatch_Element_ChangeCurve(self, *args)

    def Curve(self, *args):
        r"""
        Return
        -------
        Geom2dAdaptor_Curve

        Description
        -----------
        Returns the curve associated to the element.

        """
        return _Geom2dHatch.Geom2dHatch_Element_Curve(self, *args)

    def Orientation(self, *args):
        r"""

        Parameters
        ----------
        Orientation: TopAbs_Orientation

        Return
        -------
        None

        Description
        -----------
        Sets the orientation of the element.
        Return
        -------
        TopAbs_Orientation

        Description
        -----------
        Returns the orientation of the element.

        """
        return _Geom2dHatch.Geom2dHatch_Element_Orientation(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_Element

# Register Geom2dHatch_Element in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_Element_swigregister(Geom2dHatch_Element)
class Geom2dHatch_Elements(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"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        Parameters
        ----------
        Other: Geom2dHatch_Elements

        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        _Geom2dHatch.Geom2dHatch_Elements_swiginit(self, _Geom2dHatch.new_Geom2dHatch_Elements(*args))

    def Bind(self, *args):
        r"""

        Parameters
        ----------
        K: int
        I: Geom2dHatch_Element

        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_Bind(self, *args)

    def ChangeFind(self, *args):
        r"""

        Parameters
        ----------
        K: int

        Return
        -------
        Geom2dHatch_Element

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_ChangeFind(self, *args)

    def CheckPoint(self, *args):
        r"""

        Parameters
        ----------
        P: gp_Pnt2d

        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_CheckPoint(self, *args)

    def Clear(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_Clear(self, *args)

    def CurrentEdge(self, *args):
        r"""

        Parameters
        ----------
        E: Geom2dAdaptor_Curve

        Return
        -------
        Or: TopAbs_Orientation

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_CurrentEdge(self, *args)

    def Find(self, *args):
        r"""

        Parameters
        ----------
        K: int

        Return
        -------
        Geom2dHatch_Element

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_Find(self, *args)

    def InitEdges(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_InitEdges(self, *args)

    def InitWires(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_InitWires(self, *args)

    def IsBound(self, *args):
        r"""

        Parameters
        ----------
        K: int

        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_IsBound(self, *args)

    def MoreEdges(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_MoreEdges(self, *args)

    def MoreWires(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_MoreWires(self, *args)

    def NextEdge(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_NextEdge(self, *args)

    def NextWire(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_NextWire(self, *args)

    def OtherSegment(self, *args):
        r"""

        Parameters
        ----------
        P: gp_Pnt2d
        L: gp_Lin2d

        Return
        -------
        Par: float

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_OtherSegment(self, *args)

    def Reject(self, *args):
        r"""

        Parameters
        ----------
        P: gp_Pnt2d

        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_Reject(self, *args)

    def RejectEdge(self, *args):
        r"""

        Parameters
        ----------
        L: gp_Lin2d
        Par: float

        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_RejectEdge(self, *args)

    def RejectWire(self, *args):
        r"""

        Parameters
        ----------
        L: gp_Lin2d
        Par: float

        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_RejectWire(self, *args)

    def Segment(self, *args):
        r"""

        Parameters
        ----------
        P: gp_Pnt2d
        L: gp_Lin2d

        Return
        -------
        Par: float

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_Segment(self, *args)

    def UnBind(self, *args):
        r"""

        Parameters
        ----------
        K: int

        Return
        -------
        bool

        Description
        -----------
        No available documentation.

        """
        return _Geom2dHatch.Geom2dHatch_Elements_UnBind(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_Elements

# Register Geom2dHatch_Elements in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_Elements_swigregister(Geom2dHatch_Elements)
class Geom2dHatch_FClass2dOfClassifier(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"""
        Return
        -------
        None

        Description
        -----------
        Creates an undefined classifier.

        """
        _Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_swiginit(self, _Geom2dHatch.new_Geom2dHatch_FClass2dOfClassifier(*args))

    def ClosestIntersection(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm.

        """
        return _Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_ClosestIntersection(self, *args)

    def Compare(self, *args):
        r"""

        Parameters
        ----------
        E: Geom2dAdaptor_Curve
        Or: TopAbs_Orientation

        Return
        -------
        None

        Description
        -----------
        Updates the classification process with the edge <E> from the boundary.

        """
        return _Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_Compare(self, *args)

    def Intersector(self, *args):
        r"""
        Return
        -------
        Geom2dHatch_Intersector

        Description
        -----------
        Returns the intersecting algorithm.

        """
        return _Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_Intersector(self, *args)

    def IsHeadOrEnd(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise.

        """
        return _Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_IsHeadOrEnd(self, *args)

    def Parameter(self, *args):
        r"""
        Return
        -------
        float

        Description
        -----------
        Returns the current value of the parameter.

        """
        return _Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_Parameter(self, *args)

    def Reset(self, *args):
        r"""

        Parameters
        ----------
        L: gp_Lin2d
        P: float
        Tol: float

        Return
        -------
        None

        Description
        -----------
        Starts a classification process. The point to classify is the origin of the line <L>. <P> is the original length of the segment on <L> used to compute intersections. <Tol> is the tolerance attached to the line segment in intersections.

        """
        return _Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_Reset(self, *args)

    def State(self, *args):
        r"""
        Return
        -------
        TopAbs_State

        Description
        -----------
        Returns the current state of the point.

        """
        return _Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_State(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_FClass2dOfClassifier

# Register Geom2dHatch_FClass2dOfClassifier in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_FClass2dOfClassifier_swigregister(Geom2dHatch_FClass2dOfClassifier)
class Geom2dHatch_Hatcher(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"""

        Parameters
        ----------
        Intersector: Geom2dHatch_Intersector
        Confusion2d: float
        Confusion3d: float
        KeepPnt: bool (optional, default to Standard_False)
        KeepSeg: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Returns an empty hatcher.

        """
        _Geom2dHatch.Geom2dHatch_Hatcher_swiginit(self, _Geom2dHatch.new_Geom2dHatch_Hatcher(*args))

    def AddElement(self, *args):
        r"""

        Parameters
        ----------
        Curve: Geom2dAdaptor_Curve
        Orientation: TopAbs_Orientation (optional, default to TopAbs_FORWARD)

        Return
        -------
        int

        Description
        -----------
        Adds an element to the hatcher and returns its index.

        Parameters
        ----------
        Curve: Geom2d_Curve
        Orientation: TopAbs_Orientation (optional, default to TopAbs_FORWARD)

        Return
        -------
        int

        Description
        -----------
        Adds an element to the hatcher and returns its index.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_AddElement(self, *args)

    def AddHatching(self, *args):
        r"""

        Parameters
        ----------
        Curve: Geom2dAdaptor_Curve

        Return
        -------
        int

        Description
        -----------
        Adds a hatching to the hatcher and returns its index.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_AddHatching(self, *args)

    def ChangeIntersector(self, *args):
        r"""
        Return
        -------
        Geom2dHatch_Intersector

        Description
        -----------
        Returns the associated intersector.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_ChangeIntersector(self, *args)

    def Clear(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Removes all the hatchings and all the elements.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Clear(self, *args)

    def ClrElements(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Removes all the elements from the hatcher.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_ClrElements(self, *args)

    def ClrHatchings(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Removes all the hatchings from the hatcher.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_ClrHatchings(self, *args)

    def ComputeDomains(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Computes the domains of all the hatchings.

        Parameters
        ----------
        IndH: int

        Return
        -------
        None

        Description
        -----------
        Computes the domains of the IndH-th hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_ComputeDomains(self, *args)

    def Confusion2d(self, *args):
        r"""

        Parameters
        ----------
        Confusion: float

        Return
        -------
        None

        Description
        -----------
        Sets the confusion tolerance.
        Return
        -------
        float

        Description
        -----------
        Returns the 2d confusion tolerance, i.e. the value under which two points are considered identical in the parametric space of the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Confusion2d(self, *args)

    def Confusion3d(self, *args):
        r"""

        Parameters
        ----------
        Confusion: float

        Return
        -------
        None

        Description
        -----------
        Sets the confusion tolerance.
        Return
        -------
        float

        Description
        -----------
        Returns the 3d confusion tolerance, i.e. the value under which two points are considered identical in the 3d space of the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Confusion3d(self, *args)

    def Domain(self, *args):
        r"""

        Parameters
        ----------
        IndH: int
        IDom: int

        Return
        -------
        HatchGen_Domain

        Description
        -----------
        Returns the IDom-th domain of the IndH-th hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Domain(self, *args)

    def Dump(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Dump the hatcher.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Dump(self, *args)

    def ElementCurve(self, *args):
        r"""

        Parameters
        ----------
        IndE: int

        Return
        -------
        Geom2dAdaptor_Curve

        Description
        -----------
        Returns the curve associated to the IndE-th element.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_ElementCurve(self, *args)

    def HatchingCurve(self, *args):
        r"""

        Parameters
        ----------
        IndH: int

        Return
        -------
        Geom2dAdaptor_Curve

        Description
        -----------
        Returns the curve associated to the IndH-th hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_HatchingCurve(self, *args)

    def Intersector(self, *args):
        r"""

        Parameters
        ----------
        Intersector: Geom2dHatch_Intersector

        Return
        -------
        None

        Description
        -----------
        Sets the associated intersector.
        Return
        -------
        Geom2dHatch_Intersector

        Description
        -----------
        Returns the associated intersector.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Intersector(self, *args)

    def KeepPoints(self, *args):
        r"""

        Parameters
        ----------
        Keep: bool

        Return
        -------
        None

        Description
        -----------
        Sets the above flag.
        Return
        -------
        bool

        Description
        -----------
        Returns the flag about the points consideration.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_KeepPoints(self, *args)

    def KeepSegments(self, *args):
        r"""

        Parameters
        ----------
        Keep: bool

        Return
        -------
        None

        Description
        -----------
        Sets the above flag.
        Return
        -------
        bool

        Description
        -----------
        Returns the flag about the segments consideration.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_KeepSegments(self, *args)

    def NbDomains(self, *args):
        r"""

        Parameters
        ----------
        IndH: int

        Return
        -------
        int

        Description
        -----------
        Returns the number of domains of the IndH-th hatching. Only ONE 'INFINITE' domain means that the hatching is fully included in the contour defined by the elements.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_NbDomains(self, *args)

    def NbPoints(self, *args):
        r"""

        Parameters
        ----------
        IndH: int

        Return
        -------
        int

        Description
        -----------
        Returns the number of intersection points of the IndH-th hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_NbPoints(self, *args)

    def Point(self, *args):
        r"""

        Parameters
        ----------
        IndH: int
        IndP: int

        Return
        -------
        HatchGen_PointOnHatching

        Description
        -----------
        Returns the IndP-th intersection point of the IndH-th hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Point(self, *args)

    def RemElement(self, *args):
        r"""

        Parameters
        ----------
        IndE: int

        Return
        -------
        None

        Description
        -----------
        Removes the IndE-th element from the hatcher.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_RemElement(self, *args)

    def RemHatching(self, *args):
        r"""

        Parameters
        ----------
        IndH: int

        Return
        -------
        None

        Description
        -----------
        Removes the IndH-th hatching from the hatcher.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_RemHatching(self, *args)

    def Status(self, *args):
        r"""

        Parameters
        ----------
        IndH: int

        Return
        -------
        HatchGen_ErrorStatus

        Description
        -----------
        Returns the status about the IndH-th hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Status(self, *args)

    def Trim(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Trims all the hatchings of the hatcher by all the elements of the hatcher.

        Parameters
        ----------
        Curve: Geom2dAdaptor_Curve

        Return
        -------
        int

        Description
        -----------
        Adds a hatching to the hatcher and trims it by the elements already given and returns its index.

        Parameters
        ----------
        IndH: int

        Return
        -------
        None

        Description
        -----------
        Trims the IndH-th hatching by the elements already given.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_Trim(self, *args)

    def TrimDone(self, *args):
        r"""

        Parameters
        ----------
        IndH: int

        Return
        -------
        bool

        Description
        -----------
        Returns the fact that the intersections were computed for the IndH-th hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_TrimDone(self, *args)

    def TrimFailed(self, *args):
        r"""

        Parameters
        ----------
        IndH: int

        Return
        -------
        bool

        Description
        -----------
        Returns the fact that the intersections failed for the IndH-th hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatcher_TrimFailed(self, *args)

    __repr__ = _dumps_object

    @methodnotwrapped
    def IsDone(self):
    	pass

    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_Hatcher

# Register Geom2dHatch_Hatcher in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_Hatcher_swigregister(Geom2dHatch_Hatcher)
class Geom2dHatch_Hatching(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"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        Parameters
        ----------
        Curve: Geom2dAdaptor_Curve

        Return
        -------
        None

        Description
        -----------
        Creates a hatching.

        """
        _Geom2dHatch.Geom2dHatch_Hatching_swiginit(self, _Geom2dHatch.new_Geom2dHatch_Hatching(*args))

    def AddDomain(self, *args):
        r"""

        Parameters
        ----------
        Domain: HatchGen_Domain

        Return
        -------
        None

        Description
        -----------
        Adds a domain to the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_AddDomain(self, *args)

    def AddPoint(self, *args):
        r"""

        Parameters
        ----------
        Point: HatchGen_PointOnHatching
        Confusion: float

        Return
        -------
        None

        Description
        -----------
        Adds an intersection point to the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_AddPoint(self, *args)

    def ChangeCurve(self, *args):
        r"""
        Return
        -------
        Geom2dAdaptor_Curve

        Description
        -----------
        Returns the curve associated to the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_ChangeCurve(self, *args)

    def ChangePoint(self, *args):
        r"""

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

        Return
        -------
        HatchGen_PointOnHatching

        Description
        -----------
        Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_ChangePoint(self, *args)

    def ClassificationPoint(self, *args):
        r"""
        Return
        -------
        gp_Pnt2d

        Description
        -----------
        Returns a point on the curve. This point will be used for the classification.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_ClassificationPoint(self, *args)

    def ClrDomains(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Removes all the domains of the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_ClrDomains(self, *args)

    def ClrPoints(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Removes all the intersection points of the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_ClrPoints(self, *args)

    def Curve(self, *args):
        r"""
        Return
        -------
        Geom2dAdaptor_Curve

        Description
        -----------
        Returns the curve associated to the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_Curve(self, *args)

    def Domain(self, *args):
        r"""

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

        Return
        -------
        HatchGen_Domain

        Description
        -----------
        Returns the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_Domain(self, *args)

    def IsDone(self, *args):
        r"""

        Parameters
        ----------
        Flag: bool

        Return
        -------
        None

        Description
        -----------
        Sets the flag about the domains computation to the given value.
        Return
        -------
        bool

        Description
        -----------
        Returns the flag about the domains computation.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_IsDone(self, *args)

    def NbDomains(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the number of domains of the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_NbDomains(self, *args)

    def NbPoints(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the number of intersection points of the hatching.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_NbPoints(self, *args)

    def Point(self, *args):
        r"""

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

        Return
        -------
        HatchGen_PointOnHatching

        Description
        -----------
        Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_Point(self, *args)

    def RemDomain(self, *args):
        r"""

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

        Return
        -------
        None

        Description
        -----------
        Removes the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_RemDomain(self, *args)

    def RemPoint(self, *args):
        r"""

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

        Return
        -------
        None

        Description
        -----------
        Removes the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_RemPoint(self, *args)

    def Status(self, *args):
        r"""

        Parameters
        ----------
        theStatus: HatchGen_ErrorStatus

        Return
        -------
        None

        Description
        -----------
        Sets the error status.
        Return
        -------
        HatchGen_ErrorStatus

        Description
        -----------
        Returns the error status.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_Status(self, *args)

    def TrimDone(self, *args):
        r"""

        Parameters
        ----------
        Flag: bool

        Return
        -------
        None

        Description
        -----------
        Sets the flag about the trimming computations to the given value.
        Return
        -------
        bool

        Description
        -----------
        Returns the flag about the trimming computations.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_TrimDone(self, *args)

    def TrimFailed(self, *args):
        r"""

        Parameters
        ----------
        Flag: bool

        Return
        -------
        None

        Description
        -----------
        Sets the flag about the trimming failure to the given value.
        Return
        -------
        bool

        Description
        -----------
        Returns the flag about the trimming failure.

        """
        return _Geom2dHatch.Geom2dHatch_Hatching_TrimFailed(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_Hatching

# Register Geom2dHatch_Hatching in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_Hatching_swigregister(Geom2dHatch_Hatching)
class Geom2dHatch_Intersector(OCC.Core.Geom2dInt.Geom2dInt_GInter):
    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"""

        Parameters
        ----------
        Confusion: float
        Tangency: float

        Return
        -------
        None

        Description
        -----------
        Creates an intersector.
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        _Geom2dHatch.Geom2dHatch_Intersector_swiginit(self, _Geom2dHatch.new_Geom2dHatch_Intersector(*args))

    def ConfusionTolerance(self, *args):
        r"""
        Return
        -------
        float

        Description
        -----------
        Returns the confusion tolerance of the intersector.

        """
        return _Geom2dHatch.Geom2dHatch_Intersector_ConfusionTolerance(self, *args)

    def Intersect(self, *args):
        r"""

        Parameters
        ----------
        C1: Geom2dAdaptor_Curve
        C2: Geom2dAdaptor_Curve

        Return
        -------
        None

        Description
        -----------
        Intersects the curves C1 and C2. The results are retrieved by the usual methods described in IntRes2d_Intersection. Creates an intersector.

        """
        return _Geom2dHatch.Geom2dHatch_Intersector_Intersect(self, *args)

    def LocalGeometry(self, *args):
        r"""

        Parameters
        ----------
        E: Geom2dAdaptor_Curve
        U: float
        T: gp_Dir2d
        N: gp_Dir2d

        Return
        -------
        C: float

        Description
        -----------
        Returns in <T>, <N> and <C> the tangent, normal and curvature of the edge <E> at parameter value <U>.

        """
        return _Geom2dHatch.Geom2dHatch_Intersector_LocalGeometry(self, *args)

    def Perform(self, *args):
        r"""

        Parameters
        ----------
        L: gp_Lin2d
        P: float
        Tol: float
        E: Geom2dAdaptor_Curve

        Return
        -------
        None

        Description
        -----------
        Performs the intersection between the 2d line segment (<L>, <P>) and the Curve <E>. The line segment is the part of the 2d line <L> of parameter range [0, <P>] (P is positive and can be RealLast()). Tol is the Tolerance on the segment. The order is relevant, the first argument is the segment, the second the Edge.

        """
        return _Geom2dHatch.Geom2dHatch_Intersector_Perform(self, *args)

    def SetConfusionTolerance(self, *args):
        r"""

        Parameters
        ----------
        Confusion: float

        Return
        -------
        None

        Description
        -----------
        Sets the confusion tolerance of the intersector.

        """
        return _Geom2dHatch.Geom2dHatch_Intersector_SetConfusionTolerance(self, *args)

    def SetTangencyTolerance(self, *args):
        r"""

        Parameters
        ----------
        Tangency: float

        Return
        -------
        None

        Description
        -----------
        Sets the tangency tolerance of the intersector.

        """
        return _Geom2dHatch.Geom2dHatch_Intersector_SetTangencyTolerance(self, *args)

    def TangencyTolerance(self, *args):
        r"""
        Return
        -------
        float

        Description
        -----------
        Returns the tangency tolerance of the intersector.

        """
        return _Geom2dHatch.Geom2dHatch_Intersector_TangencyTolerance(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _Geom2dHatch.delete_Geom2dHatch_Intersector

# Register Geom2dHatch_Intersector in _Geom2dHatch:
_Geom2dHatch.Geom2dHatch_Intersector_swigregister(Geom2dHatch_Intersector)



