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

"""
StepToGeom module, see official documentation at
https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_steptogeom.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 _StepToGeom
else:
    import _StepToGeom

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

_swig_new_instance_method = _StepToGeom.SWIG_PyInstanceMethod_New
_swig_new_static_method = _StepToGeom.SWIG_PyStaticMethod_New

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__ = _StepToGeom.delete_SwigPyIterator
    value = _swig_new_instance_method(_StepToGeom.SwigPyIterator_value)
    incr = _swig_new_instance_method(_StepToGeom.SwigPyIterator_incr)
    decr = _swig_new_instance_method(_StepToGeom.SwigPyIterator_decr)
    distance = _swig_new_instance_method(_StepToGeom.SwigPyIterator_distance)
    equal = _swig_new_instance_method(_StepToGeom.SwigPyIterator_equal)
    copy = _swig_new_instance_method(_StepToGeom.SwigPyIterator_copy)
    next = _swig_new_instance_method(_StepToGeom.SwigPyIterator_next)
    __next__ = _swig_new_instance_method(_StepToGeom.SwigPyIterator___next__)
    previous = _swig_new_instance_method(_StepToGeom.SwigPyIterator_previous)
    advance = _swig_new_instance_method(_StepToGeom.SwigPyIterator_advance)
    __eq__ = _swig_new_instance_method(_StepToGeom.SwigPyIterator___eq__)
    __ne__ = _swig_new_instance_method(_StepToGeom.SwigPyIterator___ne__)
    __iadd__ = _swig_new_instance_method(_StepToGeom.SwigPyIterator___iadd__)
    __isub__ = _swig_new_instance_method(_StepToGeom.SwigPyIterator___isub__)
    __add__ = _swig_new_instance_method(_StepToGeom.SwigPyIterator___add__)
    __sub__ = _swig_new_instance_method(_StepToGeom.SwigPyIterator___sub__)
    def __iter__(self):
        return self

# Register SwigPyIterator in _StepToGeom:
_StepToGeom.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


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.StepGeom
import OCC.Core.StepData
import OCC.Core.Interface
import OCC.Core.TCollection
import OCC.Core.TColStd
import OCC.Core.Message
import OCC.Core.MoniTool
import OCC.Core.TopoDS
import OCC.Core.TopAbs
import OCC.Core.TopLoc
import OCC.Core.gp
import OCC.Core.OSD
import OCC.Core.StepRepr
import OCC.Core.StepBasic
import OCC.Core.Geom
import OCC.Core.GeomAbs
import OCC.Core.TColgp
import OCC.Core.Geom2d
class steptogeom(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    MakeAxis1Placement = _swig_new_static_method(_StepToGeom.steptogeom_MakeAxis1Placement)
    MakeAxis2Placement = _swig_new_static_method(_StepToGeom.steptogeom_MakeAxis2Placement)
    MakeAxisPlacement = _swig_new_static_method(_StepToGeom.steptogeom_MakeAxisPlacement)
    MakeBSplineCurve = _swig_new_static_method(_StepToGeom.steptogeom_MakeBSplineCurve)
    MakeBSplineCurve2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeBSplineCurve2d)
    MakeBSplineSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeBSplineSurface)
    MakeBoundedCurve = _swig_new_static_method(_StepToGeom.steptogeom_MakeBoundedCurve)
    MakeBoundedCurve2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeBoundedCurve2d)
    MakeBoundedSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeBoundedSurface)
    MakeCartesianPoint = _swig_new_static_method(_StepToGeom.steptogeom_MakeCartesianPoint)
    MakeCartesianPoint2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeCartesianPoint2d)
    MakeCircle = _swig_new_static_method(_StepToGeom.steptogeom_MakeCircle)
    MakeCircle2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeCircle2d)
    MakeConic = _swig_new_static_method(_StepToGeom.steptogeom_MakeConic)
    MakeConic2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeConic2d)
    MakeConicalSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeConicalSurface)
    MakeCurve = _swig_new_static_method(_StepToGeom.steptogeom_MakeCurve)
    MakeCurve2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeCurve2d)
    MakeCylindricalSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeCylindricalSurface)
    MakeDirection = _swig_new_static_method(_StepToGeom.steptogeom_MakeDirection)
    MakeDirection2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeDirection2d)
    MakeElementarySurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeElementarySurface)
    MakeEllipse = _swig_new_static_method(_StepToGeom.steptogeom_MakeEllipse)
    MakeEllipse2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeEllipse2d)
    MakeHyperbola = _swig_new_static_method(_StepToGeom.steptogeom_MakeHyperbola)
    MakeHyperbola2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeHyperbola2d)
    MakeLine = _swig_new_static_method(_StepToGeom.steptogeom_MakeLine)
    MakeLine2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeLine2d)
    MakeParabola = _swig_new_static_method(_StepToGeom.steptogeom_MakeParabola)
    MakeParabola2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeParabola2d)
    MakePlane = _swig_new_static_method(_StepToGeom.steptogeom_MakePlane)
    MakePolyline = _swig_new_static_method(_StepToGeom.steptogeom_MakePolyline)
    MakePolyline2d = _swig_new_static_method(_StepToGeom.steptogeom_MakePolyline2d)
    MakeRectangularTrimmedSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeRectangularTrimmedSurface)
    MakeSphericalSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeSphericalSurface)
    MakeSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeSurface)
    MakeSurfaceOfLinearExtrusion = _swig_new_static_method(_StepToGeom.steptogeom_MakeSurfaceOfLinearExtrusion)
    MakeSurfaceOfRevolution = _swig_new_static_method(_StepToGeom.steptogeom_MakeSurfaceOfRevolution)
    MakeSweptSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeSweptSurface)
    MakeToroidalSurface = _swig_new_static_method(_StepToGeom.steptogeom_MakeToroidalSurface)
    MakeTransformation2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeTransformation2d)
    MakeTransformation3d = _swig_new_static_method(_StepToGeom.steptogeom_MakeTransformation3d)
    MakeTrimmedCurve = _swig_new_static_method(_StepToGeom.steptogeom_MakeTrimmedCurve)
    MakeTrimmedCurve2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeTrimmedCurve2d)
    MakeVectorWithMagnitude = _swig_new_static_method(_StepToGeom.steptogeom_MakeVectorWithMagnitude)
    MakeVectorWithMagnitude2d = _swig_new_static_method(_StepToGeom.steptogeom_MakeVectorWithMagnitude2d)

    __repr__ = _dumps_object


    def __init__(self):
        _StepToGeom.steptogeom_swiginit(self, _StepToGeom.new_steptogeom())
    __swig_destroy__ = _StepToGeom.delete_steptogeom

# Register steptogeom in _StepToGeom:
_StepToGeom.steptogeom_swigregister(steptogeom)
steptogeom_MakeAxis1Placement = _StepToGeom.steptogeom_MakeAxis1Placement
steptogeom_MakeAxis2Placement = _StepToGeom.steptogeom_MakeAxis2Placement
steptogeom_MakeAxisPlacement = _StepToGeom.steptogeom_MakeAxisPlacement
steptogeom_MakeBSplineCurve = _StepToGeom.steptogeom_MakeBSplineCurve
steptogeom_MakeBSplineCurve2d = _StepToGeom.steptogeom_MakeBSplineCurve2d
steptogeom_MakeBSplineSurface = _StepToGeom.steptogeom_MakeBSplineSurface
steptogeom_MakeBoundedCurve = _StepToGeom.steptogeom_MakeBoundedCurve
steptogeom_MakeBoundedCurve2d = _StepToGeom.steptogeom_MakeBoundedCurve2d
steptogeom_MakeBoundedSurface = _StepToGeom.steptogeom_MakeBoundedSurface
steptogeom_MakeCartesianPoint = _StepToGeom.steptogeom_MakeCartesianPoint
steptogeom_MakeCartesianPoint2d = _StepToGeom.steptogeom_MakeCartesianPoint2d
steptogeom_MakeCircle = _StepToGeom.steptogeom_MakeCircle
steptogeom_MakeCircle2d = _StepToGeom.steptogeom_MakeCircle2d
steptogeom_MakeConic = _StepToGeom.steptogeom_MakeConic
steptogeom_MakeConic2d = _StepToGeom.steptogeom_MakeConic2d
steptogeom_MakeConicalSurface = _StepToGeom.steptogeom_MakeConicalSurface
steptogeom_MakeCurve = _StepToGeom.steptogeom_MakeCurve
steptogeom_MakeCurve2d = _StepToGeom.steptogeom_MakeCurve2d
steptogeom_MakeCylindricalSurface = _StepToGeom.steptogeom_MakeCylindricalSurface
steptogeom_MakeDirection = _StepToGeom.steptogeom_MakeDirection
steptogeom_MakeDirection2d = _StepToGeom.steptogeom_MakeDirection2d
steptogeom_MakeElementarySurface = _StepToGeom.steptogeom_MakeElementarySurface
steptogeom_MakeEllipse = _StepToGeom.steptogeom_MakeEllipse
steptogeom_MakeEllipse2d = _StepToGeom.steptogeom_MakeEllipse2d
steptogeom_MakeHyperbola = _StepToGeom.steptogeom_MakeHyperbola
steptogeom_MakeHyperbola2d = _StepToGeom.steptogeom_MakeHyperbola2d
steptogeom_MakeLine = _StepToGeom.steptogeom_MakeLine
steptogeom_MakeLine2d = _StepToGeom.steptogeom_MakeLine2d
steptogeom_MakeParabola = _StepToGeom.steptogeom_MakeParabola
steptogeom_MakeParabola2d = _StepToGeom.steptogeom_MakeParabola2d
steptogeom_MakePlane = _StepToGeom.steptogeom_MakePlane
steptogeom_MakePolyline = _StepToGeom.steptogeom_MakePolyline
steptogeom_MakePolyline2d = _StepToGeom.steptogeom_MakePolyline2d
steptogeom_MakeRectangularTrimmedSurface = _StepToGeom.steptogeom_MakeRectangularTrimmedSurface
steptogeom_MakeSphericalSurface = _StepToGeom.steptogeom_MakeSphericalSurface
steptogeom_MakeSurface = _StepToGeom.steptogeom_MakeSurface
steptogeom_MakeSurfaceOfLinearExtrusion = _StepToGeom.steptogeom_MakeSurfaceOfLinearExtrusion
steptogeom_MakeSurfaceOfRevolution = _StepToGeom.steptogeom_MakeSurfaceOfRevolution
steptogeom_MakeSweptSurface = _StepToGeom.steptogeom_MakeSweptSurface
steptogeom_MakeToroidalSurface = _StepToGeom.steptogeom_MakeToroidalSurface
steptogeom_MakeTransformation2d = _StepToGeom.steptogeom_MakeTransformation2d
steptogeom_MakeTransformation3d = _StepToGeom.steptogeom_MakeTransformation3d
steptogeom_MakeTrimmedCurve = _StepToGeom.steptogeom_MakeTrimmedCurve
steptogeom_MakeTrimmedCurve2d = _StepToGeom.steptogeom_MakeTrimmedCurve2d
steptogeom_MakeVectorWithMagnitude = _StepToGeom.steptogeom_MakeVectorWithMagnitude
steptogeom_MakeVectorWithMagnitude2d = _StepToGeom.steptogeom_MakeVectorWithMagnitude2d



