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

"""
BRepPrim module, see official documentation at
https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepprim.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 _BRepPrim
else:
    import _BRepPrim

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__ = _BRepPrim.delete_SwigPyIterator

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register SwigPyIterator in _BRepPrim:
_BRepPrim.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 _BRepPrim.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 = _BRepPrim.ios_base_erase_event
    imbue_event = _BRepPrim.ios_base_imbue_event
    copyfmt_event = _BRepPrim.ios_base_copyfmt_event

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register ios in _BRepPrim:
_BRepPrim.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):
        _BRepPrim.ostream_swiginit(self, _BRepPrim.new_ostream(__sb))
    __swig_destroy__ = _BRepPrim.delete_ostream

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

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

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

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

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

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

# Register ostream in _BRepPrim:
_BRepPrim.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):
        _BRepPrim.istream_swiginit(self, _BRepPrim.new_istream(__sb))
    __swig_destroy__ = _BRepPrim.delete_istream

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register istream in _BRepPrim:
_BRepPrim.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):
        _BRepPrim.iostream_swiginit(self, _BRepPrim.new_iostream(__sb))
    __swig_destroy__ = _BRepPrim.delete_iostream

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

endl_cb_ptr = _BRepPrim.endl_cb_ptr
endl = _BRepPrim.endl
ends_cb_ptr = _BRepPrim.ends_cb_ptr
ends = _BRepPrim.ends
flush_cb_ptr = _BRepPrim.flush_cb_ptr
flush = _BRepPrim.flush
import OCC.Core.Standard
import OCC.Core.NCollection
import OCC.Core.BRep
import OCC.Core.TopoDS
import OCC.Core.Message
import OCC.Core.TCollection
import OCC.Core.OSD
import OCC.Core.TColStd
import OCC.Core.TopAbs
import OCC.Core.TopLoc
import OCC.Core.gp
import OCC.Core.GeomAbs
import OCC.Core.Geom
import OCC.Core.TColgp
import OCC.Core.Poly
import OCC.Core.Bnd
import OCC.Core.BVH
import OCC.Core.TShort
import OCC.Core.Geom2d

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

BRepPrim_XMin = _BRepPrim.BRepPrim_XMin
BRepPrim_XMax = _BRepPrim.BRepPrim_XMax
BRepPrim_YMin = _BRepPrim.BRepPrim_YMin
BRepPrim_YMax = _BRepPrim.BRepPrim_YMax
BRepPrim_ZMin = _BRepPrim.BRepPrim_ZMin
BRepPrim_ZMax = _BRepPrim.BRepPrim_ZMax


class BRepPrim_Direction(IntEnum):
	BRepPrim_XMin = 0
	BRepPrim_XMax = 1
	BRepPrim_YMin = 2
	BRepPrim_YMax = 3
	BRepPrim_ZMin = 4
	BRepPrim_ZMax = 5
BRepPrim_XMin = BRepPrim_Direction.BRepPrim_XMin
BRepPrim_XMax = BRepPrim_Direction.BRepPrim_XMax
BRepPrim_YMin = BRepPrim_Direction.BRepPrim_YMin
BRepPrim_YMax = BRepPrim_Direction.BRepPrim_YMax
BRepPrim_ZMin = BRepPrim_Direction.BRepPrim_ZMin
BRepPrim_ZMax = BRepPrim_Direction.BRepPrim_ZMax

class BRepPrim_Builder(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 empty, useless Builder. Necesseray for compilation.

        Parameters
        ----------
        B: BRep_Builder

        Return
        -------
        None

        Description
        -----------
        Creates from a Builder.

        """
        _BRepPrim.BRepPrim_Builder_swiginit(self, _BRepPrim.new_BRepPrim_Builder(*args))

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

        Parameters
        ----------
        E: TopoDS_Edge
        V: TopoDS_Vertex
        P: float
        direct: bool

        Return
        -------
        None

        Description
        -----------
        Adds the Vertex <V> in the Edge <E>. <P> is the parameter of the vertex on the edge. If direct is False the Vertex is reversed.

        Parameters
        ----------
        E: TopoDS_Edge
        V: TopoDS_Vertex
        P1: float
        P2: float

        Return
        -------
        None

        Description
        -----------
        Adds the Vertex <V> in the Edge <E>. <P1,P2> are the parameters of the vertex on the closed edge.

        """
        return _BRepPrim.BRepPrim_Builder_AddEdgeVertex(self, *args)

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

        Parameters
        ----------
        F: TopoDS_Face
        W: TopoDS_Wire

        Return
        -------
        None

        Description
        -----------
        Adds the Wire <W> in the Face <F>.

        """
        return _BRepPrim.BRepPrim_Builder_AddFaceWire(self, *args)

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

        Parameters
        ----------
        Sh: TopoDS_Shell
        F: TopoDS_Face

        Return
        -------
        None

        Description
        -----------
        Adds the Face <F> in the Shell <Sh>.

        """
        return _BRepPrim.BRepPrim_Builder_AddShellFace(self, *args)

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

        Parameters
        ----------
        W: TopoDS_Wire
        E: TopoDS_Edge
        direct: bool

        Return
        -------
        None

        Description
        -----------
        Adds the Edge <E> in the Wire <W>, if direct is False the Edge is reversed.

        """
        return _BRepPrim.BRepPrim_Builder_AddWireEdge(self, *args)

    def Builder(self, *args):
        r"""
        Return
        -------
        BRep_Builder

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

        """
        return _BRepPrim.BRepPrim_Builder_Builder(self, *args)

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

        Parameters
        ----------
        E: TopoDS_Edge

        Return
        -------
        None

        Description
        -----------
        This is called once an edge is completed. It gives the opportunity to perform any post treatment.

        """
        return _BRepPrim.BRepPrim_Builder_CompleteEdge(self, *args)

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

        Parameters
        ----------
        F: TopoDS_Face

        Return
        -------
        None

        Description
        -----------
        This is called once a face is completed. It gives the opportunity to perform any post treatment.

        """
        return _BRepPrim.BRepPrim_Builder_CompleteFace(self, *args)

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

        Parameters
        ----------
        S: TopoDS_Shell

        Return
        -------
        None

        Description
        -----------
        This is called once a shell is completed. It gives the opportunity to perform any post treatment.

        """
        return _BRepPrim.BRepPrim_Builder_CompleteShell(self, *args)

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

        Parameters
        ----------
        W: TopoDS_Wire

        Return
        -------
        None

        Description
        -----------
        This is called once a wire is completed. It gives the opportunity to perform any post treatment.

        """
        return _BRepPrim.BRepPrim_Builder_CompleteWire(self, *args)

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

        Parameters
        ----------
        E: TopoDS_Edge

        Return
        -------
        None

        Description
        -----------
        Returns in <E> a degenerated edge.

        """
        return _BRepPrim.BRepPrim_Builder_MakeDegeneratedEdge(self, *args)

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

        Parameters
        ----------
        E: TopoDS_Edge
        L: gp_Lin

        Return
        -------
        None

        Description
        -----------
        Returns in <E> an Edge built with the line equation <L>.

        Parameters
        ----------
        E: TopoDS_Edge
        C: gp_Circ

        Return
        -------
        None

        Description
        -----------
        Returns in <E> an Edge built with the circle equation <C>.

        """
        return _BRepPrim.BRepPrim_Builder_MakeEdge(self, *args)

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

        Parameters
        ----------
        F: TopoDS_Face
        P: gp_Pln

        Return
        -------
        None

        Description
        -----------
        Returns in <F> a Face built with the plane equation <P>. Used by all primitives.

        """
        return _BRepPrim.BRepPrim_Builder_MakeFace(self, *args)

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

        Parameters
        ----------
        S: TopoDS_Shell

        Return
        -------
        None

        Description
        -----------
        Make a empty Shell.

        """
        return _BRepPrim.BRepPrim_Builder_MakeShell(self, *args)

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

        Parameters
        ----------
        V: TopoDS_Vertex
        P: gp_Pnt

        Return
        -------
        None

        Description
        -----------
        Returns in <V> a Vertex built with the point <P>.

        """
        return _BRepPrim.BRepPrim_Builder_MakeVertex(self, *args)

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

        Parameters
        ----------
        W: TopoDS_Wire

        Return
        -------
        None

        Description
        -----------
        Returns in <W> an empty Wire.

        """
        return _BRepPrim.BRepPrim_Builder_MakeWire(self, *args)

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

        Parameters
        ----------
        F: TopoDS_Face

        Return
        -------
        None

        Description
        -----------
        Reverses the Face <F>.

        """
        return _BRepPrim.BRepPrim_Builder_ReverseFace(self, *args)

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

        Parameters
        ----------
        E: TopoDS_Edge
        F: TopoDS_Face
        L: gp_Lin2d

        Return
        -------
        None

        Description
        -----------
        Sets the line <L> to be the curve representing the edge <E> in the parametric space of the surface of <F>.

        Parameters
        ----------
        E: TopoDS_Edge
        F: TopoDS_Face
        L1: gp_Lin2d
        L2: gp_Lin2d

        Return
        -------
        None

        Description
        -----------
        Sets the lines <L1,L2> to be the curves representing the edge <E> in the parametric space of the closed surface of <F>.

        Parameters
        ----------
        E: TopoDS_Edge
        F: TopoDS_Face
        C: gp_Circ2d

        Return
        -------
        None

        Description
        -----------
        Sets the circle <C> to be the curve representing the edge <E> in the parametric space of the surface of <F>.

        """
        return _BRepPrim.BRepPrim_Builder_SetPCurve(self, *args)

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

        Parameters
        ----------
        E: TopoDS_Edge
        V: TopoDS_Vertex
        P1: float
        P2: float

        Return
        -------
        None

        Description
        -----------
        <P1,P2> are the parameters of the vertex on the edge. The edge is a closed curve.

        """
        return _BRepPrim.BRepPrim_Builder_SetParameters(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_Builder

# Register BRepPrim_Builder in _BRepPrim:
_BRepPrim.BRepPrim_Builder_swigregister(BRepPrim_Builder)
class BRepPrim_FaceBuilder(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
        ----------
        B: BRep_Builder
        S: Geom_Surface

        Return
        -------
        None

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

        Parameters
        ----------
        B: BRep_Builder
        S: Geom_Surface
        UMin: float
        UMax: float
        VMin: float
        VMax: float

        Return
        -------
        None

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

        """
        _BRepPrim.BRepPrim_FaceBuilder_swiginit(self, _BRepPrim.new_BRepPrim_FaceBuilder(*args))

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

        Parameters
        ----------
        I: int

        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the edge of index <I> 1 - Edge VMin 2 - Edge UMax 3 - Edge VMax 4 - Edge UMin.

        """
        return _BRepPrim.BRepPrim_FaceBuilder_Edge(self, *args)

    def Face(self, *args):
        r"""
        Return
        -------
        TopoDS_Face

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

        """
        return _BRepPrim.BRepPrim_FaceBuilder_Face(self, *args)

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

        Parameters
        ----------
        B: BRep_Builder
        S: Geom_Surface

        Return
        -------
        None

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

        Parameters
        ----------
        B: BRep_Builder
        S: Geom_Surface
        UMin: float
        UMax: float
        VMin: float
        VMax: float

        Return
        -------
        None

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

        """
        return _BRepPrim.BRepPrim_FaceBuilder_Init(self, *args)

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

        Parameters
        ----------
        I: int

        Return
        -------
        TopoDS_Vertex

        Description
        -----------
        Returns the vertex of index <I> 1 - Vertex UMin,VMin 2 - Vertex UMax,VMin 3 - Vertex UMax,VMax 4 - Vertex UMin,VMax.

        """
        return _BRepPrim.BRepPrim_FaceBuilder_Vertex(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_FaceBuilder

# Register BRepPrim_FaceBuilder in _BRepPrim:
_BRepPrim.BRepPrim_FaceBuilder_swigregister(BRepPrim_FaceBuilder)
class BRepPrim_GWedge(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
        -----------
        Default constructor.

        Parameters
        ----------
        B: BRepPrim_Builder
        Axes: gp_Ax2
        dx: float
        dy: float
        dz: float

        Return
        -------
        None

        Description
        -----------
        Creates a GWedge algorithm. <Axes> is the axis system for the primitive. //! XMin, YMin, ZMin are set to 0 XMax, YMax, ZMax are set to dx, dy, dz Z2Min = ZMin Z2Max = ZMax X2Min = XMin X2Max = XMax The result is a box dx,dy,dz should be positive.

        Parameters
        ----------
        B: BRepPrim_Builder
        Axes: gp_Ax2
        dx: float
        dy: float
        dz: float
        ltx: float

        Return
        -------
        None

        Description
        -----------
        Creates a GWedge primitive. <Axes> is the axis system for the primitive. //! XMin, YMin, ZMin are set to 0 XMax, YMax, ZMax are set to dx, dy, dz Z2Min = ZMin Z2Max = ZMax X2Min = ltx X2Max = ltx The result is a STEP right angular wedge dx,dy,dz should be positive ltx should not be negative.

        Parameters
        ----------
        B: BRepPrim_Builder
        Axes: gp_Ax2
        xmin: float
        ymin: float
        zmin: float
        z2min: float
        x2min: float
        xmax: float
        ymax: float
        zmax: float
        z2max: float
        x2max: float

        Return
        -------
        None

        Description
        -----------
        Create a GWedge primitive. <Axes> is the axis system for the primitive. //! all the fields are set to the corresponding value XYZMax - XYZMin should be positive ZX2Max - ZX2Min should not be negative.

        """
        _BRepPrim.BRepPrim_GWedge_swiginit(self, _BRepPrim.new_BRepPrim_GWedge(*args))

    def Axes(self, *args):
        r"""
        Return
        -------
        gp_Ax2

        Description
        -----------
        Returns the coordinates system from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_Axes(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction

        Return
        -------
        None

        Description
        -----------
        Closes <self> in <d1> direction. A face and its edges or vertices are said existent.

        """
        return _BRepPrim.BRepPrim_GWedge_Close(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction
        d2: BRepPrim_Direction

        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the Edge of <self> located in <d1><d2> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_Edge(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction

        Return
        -------
        TopoDS_Face

        Description
        -----------
        Returns the Face of <self> located in <d1> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_Face(self, *args)

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

        Description
        -----------
        Returns X2Max value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetX2Max(self, *args)

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

        Description
        -----------
        Returns X2Min value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetX2Min(self, *args)

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

        Description
        -----------
        Returns XMax value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetXMax(self, *args)

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

        Description
        -----------
        Returns Xmin value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetXMin(self, *args)

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

        Description
        -----------
        Returns YMax value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetYMax(self, *args)

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

        Description
        -----------
        Returns YMin value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetYMin(self, *args)

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

        Description
        -----------
        Returns Z2Max value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetZ2Max(self, *args)

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

        Description
        -----------
        Returns Z2Min value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetZ2Min(self, *args)

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

        Description
        -----------
        Returns ZMax value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetZMax(self, *args)

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

        Description
        -----------
        Returns ZMin value from <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_GetZMin(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction
        d2: BRepPrim_Direction

        Return
        -------
        bool

        Description
        -----------
        Returns True if <self> has an Edge in <d1><d2> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_HasEdge(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction

        Return
        -------
        bool

        Description
        -----------
        Returns True if <self> has a Face in <d1> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_HasFace(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction
        d2: BRepPrim_Direction
        d3: BRepPrim_Direction

        Return
        -------
        bool

        Description
        -----------
        Returns True if <self> has a Vertex in <d1><d2><d3> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_HasVertex(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction

        Return
        -------
        bool

        Description
        -----------
        Returns True if <self> has a Wire in <d1> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_HasWire(self, *args)

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

        Description
        -----------
        Checks a shape on degeneracy 
        Return: True if a shape is degenerated.

        """
        return _BRepPrim.BRepPrim_GWedge_IsDegeneratedShape(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction

        Return
        -------
        bool

        Description
        -----------
        Returns True if <self> is open in <d1> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_IsInfinite(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction
        d2: BRepPrim_Direction

        Return
        -------
        gp_Lin

        Description
        -----------
        Returns the line of the Edge of <self> located in <d1><d2> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_Line(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction

        Return
        -------
        None

        Description
        -----------
        Opens <self> in <d1> direction. A face and its edges or vertices are said nonexistent.

        """
        return _BRepPrim.BRepPrim_GWedge_Open(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction

        Return
        -------
        gp_Pln

        Description
        -----------
        Returns the plane of the Face of <self> located in <d1> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_Plane(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction
        d2: BRepPrim_Direction
        d3: BRepPrim_Direction

        Return
        -------
        gp_Pnt

        Description
        -----------
        Returns the point of the Vertex of <self> located in <d1><d2><d3> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_Point(self, *args)

    def Shell(self, *args):
        r"""
        Return
        -------
        TopoDS_Shell

        Description
        -----------
        Returns the Shell containing the Faces of <self>.

        """
        return _BRepPrim.BRepPrim_GWedge_Shell(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction
        d2: BRepPrim_Direction
        d3: BRepPrim_Direction

        Return
        -------
        TopoDS_Vertex

        Description
        -----------
        Returns the Vertex of <self> located in <d1><d2><d3> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_Vertex(self, *args)

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

        Parameters
        ----------
        d1: BRepPrim_Direction

        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the Wire of <self> located in <d1> direction.

        """
        return _BRepPrim.BRepPrim_GWedge_Wire(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_GWedge

# Register BRepPrim_GWedge in _BRepPrim:
_BRepPrim.BRepPrim_GWedge_swigregister(BRepPrim_GWedge)
class BRepPrim_OneAxis(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

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

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

        Parameters
        ----------
        A: float

        Return
        -------
        None

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

        """
        return _BRepPrim.BRepPrim_OneAxis_Angle(self, *args)

    def Axes(self, *args):
        r"""
        Return
        -------
        gp_Ax2

        Description
        -----------
        Returns the Ax2 from <self>.

        Parameters
        ----------
        A: gp_Ax2

        Return
        -------
        None

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

        """
        return _BRepPrim.BRepPrim_OneAxis_Axes(self, *args)

    def AxisBottomVertex(self, *args):
        r"""
        Return
        -------
        TopoDS_Vertex

        Description
        -----------
        Returns the Vertex at the Bottom altitude on the axis.

        """
        return _BRepPrim.BRepPrim_OneAxis_AxisBottomVertex(self, *args)

    def AxisEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the Edge built along the Axis and oriented on +Z of the Axis.

        """
        return _BRepPrim.BRepPrim_OneAxis_AxisEdge(self, *args)

    def AxisEndWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the Wire in the end face with the AxisEdge.

        """
        return _BRepPrim.BRepPrim_OneAxis_AxisEndWire(self, *args)

    def AxisStartWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the wire in the start face with the AxisEdge.

        """
        return _BRepPrim.BRepPrim_OneAxis_AxisStartWire(self, *args)

    def AxisTopVertex(self, *args):
        r"""
        Return
        -------
        TopoDS_Vertex

        Description
        -----------
        Returns the Vertex at the Top altitude on the axis.

        """
        return _BRepPrim.BRepPrim_OneAxis_AxisTopVertex(self, *args)

    def BottomEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the edge at VMin. If MeridianClosed() the TopEdge and the BottomEdge are the same edge.

        """
        return _BRepPrim.BRepPrim_OneAxis_BottomEdge(self, *args)

    def BottomEndVertex(self, *args):
        r"""
        Return
        -------
        TopoDS_Vertex

        Description
        -----------
        Returns the vertex (angle,VMax).

        """
        return _BRepPrim.BRepPrim_OneAxis_BottomEndVertex(self, *args)

    def BottomFace(self, *args):
        r"""
        Return
        -------
        TopoDS_Face

        Description
        -----------
        Returns the Bottom planar Face. It is Oriented toward the -Z axis (outside).

        """
        return _BRepPrim.BRepPrim_OneAxis_BottomFace(self, *args)

    def BottomStartVertex(self, *args):
        r"""
        Return
        -------
        TopoDS_Vertex

        Description
        -----------
        Returns the vertex (0,VMin).

        """
        return _BRepPrim.BRepPrim_OneAxis_BottomStartVertex(self, *args)

    def BottomWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the wire in the bottom face.

        """
        return _BRepPrim.BRepPrim_OneAxis_BottomWire(self, *args)

    def EndBottomEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the linear Edge between end Face and bottom Face.

        """
        return _BRepPrim.BRepPrim_OneAxis_EndBottomEdge(self, *args)

    def EndEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the Edge at angle Angle. If !HasSides() the StartEdge and the EndEdge are the same edge.

        """
        return _BRepPrim.BRepPrim_OneAxis_EndEdge(self, *args)

    def EndFace(self, *args):
        r"""
        Return
        -------
        TopoDS_Face

        Description
        -----------
        Returns the Face ending the slice, it is oriented toward the exterior of the primitive.

        """
        return _BRepPrim.BRepPrim_OneAxis_EndFace(self, *args)

    def EndTopEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the linear Edge between end Face and top Face.

        """
        return _BRepPrim.BRepPrim_OneAxis_EndTopEdge(self, *args)

    def EndWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the Wire in the end face.

        """
        return _BRepPrim.BRepPrim_OneAxis_EndWire(self, *args)

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

        Description
        -----------
        Returns True if there is a bottom face. //! That is neither: VMinInfinite() MeridianClosed() MeridianOnAxis(VMin).

        """
        return _BRepPrim.BRepPrim_OneAxis_HasBottom(self, *args)

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

        Description
        -----------
        Returns True if there are Start and End faces. //! That is: 2*PI - Angle > Precision::Angular().

        """
        return _BRepPrim.BRepPrim_OneAxis_HasSides(self, *args)

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

        Description
        -----------
        Returns True if there is a top face. //! That is neither: VMaxInfinite() MeridianClosed() MeridianOnAxis(VMax).

        """
        return _BRepPrim.BRepPrim_OneAxis_HasTop(self, *args)

    def LateralEndWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the wire with in lateral face with the end edge.

        """
        return _BRepPrim.BRepPrim_OneAxis_LateralEndWire(self, *args)

    def LateralFace(self, *args):
        r"""
        Return
        -------
        TopoDS_Face

        Description
        -----------
        Returns the lateral Face. It is oriented toward the outside of the primitive.

        """
        return _BRepPrim.BRepPrim_OneAxis_LateralFace(self, *args)

    def LateralStartWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the wire in the lateral face with the start edge.

        """
        return _BRepPrim.BRepPrim_OneAxis_LateralStartWire(self, *args)

    def LateralWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the wire in the lateral face.

        """
        return _BRepPrim.BRepPrim_OneAxis_LateralWire(self, *args)

    def MakeEmptyLateralFace(self, *args):
        r"""
        Return
        -------
        TopoDS_Face

        Description
        -----------
        Returns a face with no edges. The surface is the lateral surface with normals pointing outward. The U parameter is the angle with the origin on the X axis. The V parameter is the parameter of the meridian.

        """
        return _BRepPrim.BRepPrim_OneAxis_MakeEmptyLateralFace(self, *args)

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

        Parameters
        ----------
        Ang: float

        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns an edge with a 3D curve made from the meridian in the XZ plane rotated by <Ang> around the Z-axis. Ang may be 0 or myAngle.

        """
        return _BRepPrim.BRepPrim_OneAxis_MakeEmptyMeridianEdge(self, *args)

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

        Description
        -----------
        Returns True if the meridian is closed. Default implementation  is MeridianValue(VMin).IsEqual(MeridianValue(VMax), Precision::Confusion()).

        """
        return _BRepPrim.BRepPrim_OneAxis_MeridianClosed(self, *args)

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

        Parameters
        ----------
        V: float

        Return
        -------
        bool

        Description
        -----------
        Returns True if the point of parameter <V> on the meridian is on the Axis. Default implementation is Abs(MeridianValue(V).X()) < Precision::Confusion().

        """
        return _BRepPrim.BRepPrim_OneAxis_MeridianOnAxis(self, *args)

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

        Parameters
        ----------
        V: float

        Return
        -------
        gp_Pnt2d

        Description
        -----------
        Returns the meridian point at parameter <V> in the plane XZ.

        """
        return _BRepPrim.BRepPrim_OneAxis_MeridianValue(self, *args)

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

        Parameters
        ----------
        MeridianOffset: float (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        The MeridianOffset is added to the parameters on the meridian curve and to the V values of the pcurves. This is used for the sphere for example, to give a range on the meridian edge which is not VMin, VMax.

        """
        return _BRepPrim.BRepPrim_OneAxis_SetMeridianOffset(self, *args)

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

        Parameters
        ----------
        E: TopoDS_Edge
        F: TopoDS_Face

        Return
        -------
        None

        Description
        -----------
        Sets the parametric curve of the edge <E> in the face <F> to be the 2d representation of the meridian.

        """
        return _BRepPrim.BRepPrim_OneAxis_SetMeridianPCurve(self, *args)

    def Shell(self, *args):
        r"""
        Return
        -------
        TopoDS_Shell

        Description
        -----------
        Returns the Shell containing all the Faces of the primitive.

        """
        return _BRepPrim.BRepPrim_OneAxis_Shell(self, *args)

    def StartBottomEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the linear Edge between start Face and bottom Face.

        """
        return _BRepPrim.BRepPrim_OneAxis_StartBottomEdge(self, *args)

    def StartEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the Edge at angle 0.

        """
        return _BRepPrim.BRepPrim_OneAxis_StartEdge(self, *args)

    def StartFace(self, *args):
        r"""
        Return
        -------
        TopoDS_Face

        Description
        -----------
        Returns the Face starting the slice, it is oriented toward the exterior of the primitive.

        """
        return _BRepPrim.BRepPrim_OneAxis_StartFace(self, *args)

    def StartTopEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the linear Edge between start Face and top Face.

        """
        return _BRepPrim.BRepPrim_OneAxis_StartTopEdge(self, *args)

    def StartWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the wire in the start face.

        """
        return _BRepPrim.BRepPrim_OneAxis_StartWire(self, *args)

    def TopEdge(self, *args):
        r"""
        Return
        -------
        TopoDS_Edge

        Description
        -----------
        Returns the edge at VMax. If MeridianClosed() the TopEdge and the BottomEdge are the same edge.

        """
        return _BRepPrim.BRepPrim_OneAxis_TopEdge(self, *args)

    def TopEndVertex(self, *args):
        r"""
        Return
        -------
        TopoDS_Vertex

        Description
        -----------
        Returns the vertex (angle,VMax).

        """
        return _BRepPrim.BRepPrim_OneAxis_TopEndVertex(self, *args)

    def TopFace(self, *args):
        r"""
        Return
        -------
        TopoDS_Face

        Description
        -----------
        Returns the top planar Face. It is Oriented toward the +Z axis (outside).

        """
        return _BRepPrim.BRepPrim_OneAxis_TopFace(self, *args)

    def TopStartVertex(self, *args):
        r"""
        Return
        -------
        TopoDS_Vertex

        Description
        -----------
        Returns the vertex (0,VMax).

        """
        return _BRepPrim.BRepPrim_OneAxis_TopStartVertex(self, *args)

    def TopWire(self, *args):
        r"""
        Return
        -------
        TopoDS_Wire

        Description
        -----------
        Returns the wire in the top face.

        """
        return _BRepPrim.BRepPrim_OneAxis_TopWire(self, *args)

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

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

        Parameters
        ----------
        V: float

        Return
        -------
        None

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

        """
        return _BRepPrim.BRepPrim_OneAxis_VMax(self, *args)

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

        Description
        -----------
        Returns True if VMax is infinite. Default Precision::IsPositiveInfinite(VMax);.

        """
        return _BRepPrim.BRepPrim_OneAxis_VMaxInfinite(self, *args)

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

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

        Parameters
        ----------
        V: float

        Return
        -------
        None

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

        """
        return _BRepPrim.BRepPrim_OneAxis_VMin(self, *args)

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

        Description
        -----------
        Returns True if VMin is infinite. Default Precision::IsNegativeInfinite(VMax);.

        """
        return _BRepPrim.BRepPrim_OneAxis_VMinInfinite(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_OneAxis

# Register BRepPrim_OneAxis in _BRepPrim:
_BRepPrim.BRepPrim_OneAxis_swigregister(BRepPrim_OneAxis)
class BRepPrim_Revolution(BRepPrim_OneAxis):
    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
        ----------
        A: gp_Ax2
        VMin: float
        VMax: float
        M: Geom_Curve
        PM: Geom2d_Curve

        Return
        -------
        None

        Description
        -----------
        Create a revolution body <M> is the meridian nd must be in the XZ plane of <A>. <PM> is the meridian in the XZ plane.

        """
        _BRepPrim.BRepPrim_Revolution_swiginit(self, _BRepPrim.new_BRepPrim_Revolution(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_Revolution

# Register BRepPrim_Revolution in _BRepPrim:
_BRepPrim.BRepPrim_Revolution_swigregister(BRepPrim_Revolution)
class BRepPrim_Wedge(BRepPrim_GWedge):
    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
        -----------
        Default constructor.

        Parameters
        ----------
        Axes: gp_Ax2
        dx: float
        dy: float
        dz: float

        Return
        -------
        None

        Description
        -----------
        Creates a Wedge algorithm. <Axes> is the axis system for the primitive. //! XMin, YMin, ZMin are set to 0 XMax, YMax, ZMax are set to dx, dy, dz Z2Min = ZMin Z2Max = ZMax X2Min = XMin X2Max = XMax The result is a box dx,dy,dz should be positive.

        Parameters
        ----------
        Axes: gp_Ax2
        dx: float
        dy: float
        dz: float
        ltx: float

        Return
        -------
        None

        Description
        -----------
        Creates a Wedge primitive. <Axes> is the axis system for the primitive. //! XMin, YMin, ZMin are set to 0 XMax, YMax, ZMax are set to dx, dy, dz Z2Min = ZMin Z2Max = ZMax X2Min = ltx X2Max = ltx The result is a STEP right angular wedge dx,dy,dz should be positive ltx should not be negative.

        Parameters
        ----------
        Axes: gp_Ax2
        xmin: float
        ymin: float
        zmin: float
        z2min: float
        x2min: float
        xmax: float
        ymax: float
        zmax: float
        z2max: float
        x2max: float

        Return
        -------
        None

        Description
        -----------
        Create a Wedge primitive. <Axes> is the axis system for the primitive. //! all the fields are set to the corresponding value XYZMax - XYZMin should be positive ZX2Max - ZX2Min should not be negative.

        """
        _BRepPrim.BRepPrim_Wedge_swiginit(self, _BRepPrim.new_BRepPrim_Wedge(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_Wedge

# Register BRepPrim_Wedge in _BRepPrim:
_BRepPrim.BRepPrim_Wedge_swigregister(BRepPrim_Wedge)
class BRepPrim_Cone(BRepPrim_Revolution):
    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
        ----------
        Angle: float
        Position: gp_Ax2
        Height: float
        Radius: float (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        the STEP definition Angle = semi-angle of the cone Position: the coordinate system Height: height of the cone. Radius: radius of truncated face at z = 0 //! The apex is on z < 0 //! Errors: Height < Resolution Angle < Resolution / Height Angle > PI/2 - Resolution / Height.

        Parameters
        ----------
        Angle: float

        Return
        -------
        None

        Description
        -----------
        infinite cone at origin on Z negative.

        Parameters
        ----------
        Angle: float
        Apex: gp_Pnt

        Return
        -------
        None

        Description
        -----------
        infinite cone at Apex on Z negative.

        Parameters
        ----------
        Angle: float
        Axes: gp_Ax2

        Return
        -------
        None

        Description
        -----------
        infinite cone with Axes.

        Parameters
        ----------
        R1: float
        R2: float
        H: float

        Return
        -------
        None

        Description
        -----------
        create a Cone at origin on Z axis, of height H, radius R1 at Z = 0, R2 at Z = H, X is the origin of angles. If R1 or R2 is 0 there is an apex. Otherwise, it is a truncated cone. //! Error: R1 and R2 < Resolution R1 or R2 negative Abs(R1-R2) < Resolution H < Resolution H negative.

        Parameters
        ----------
        Center: gp_Pnt
        R1: float
        R2: float
        H: float

        Return
        -------
        None

        Description
        -----------
        same as above but at a given point.

        Parameters
        ----------
        Axes: gp_Ax2
        R1: float
        R2: float
        H: float

        Return
        -------
        None

        Description
        -----------
        same as above with given axes system.

        """
        _BRepPrim.BRepPrim_Cone_swiginit(self, _BRepPrim.new_BRepPrim_Cone(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_Cone

# Register BRepPrim_Cone in _BRepPrim:
_BRepPrim.BRepPrim_Cone_swigregister(BRepPrim_Cone)
class BRepPrim_Cylinder(BRepPrim_Revolution):
    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
        ----------
        Position: gp_Ax2
        Radius: float
        Height: float

        Return
        -------
        None

        Description
        -----------
        the STEP definition Position: center of a Face and Axis Radius: radius of cylinder Height: distance between faces on positive side //! Errors: Height < Resolution Radius < Resolution.

        Parameters
        ----------
        Radius: float

        Return
        -------
        None

        Description
        -----------
        infinite Cylinder at origin on Z negative.

        Parameters
        ----------
        Center: gp_Pnt
        Radius: float

        Return
        -------
        None

        Description
        -----------
        infinite Cylinder at Center on Z negative.

        Parameters
        ----------
        Axes: gp_Ax2
        Radius: float

        Return
        -------
        None

        Description
        -----------
        infinite Cylinder at Axes on Z negative.

        Parameters
        ----------
        R: float
        H: float

        Return
        -------
        None

        Description
        -----------
        create a Cylinder at origin on Z axis, of height H and radius R Error: Radius < Resolution H < Resolution H negative.

        Parameters
        ----------
        Center: gp_Pnt
        R: float
        H: float

        Return
        -------
        None

        Description
        -----------
        same as above but at a given point.

        """
        _BRepPrim.BRepPrim_Cylinder_swiginit(self, _BRepPrim.new_BRepPrim_Cylinder(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_Cylinder

# Register BRepPrim_Cylinder in _BRepPrim:
_BRepPrim.BRepPrim_Cylinder_swigregister(BRepPrim_Cylinder)
class BRepPrim_Sphere(BRepPrim_Revolution):
    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
        ----------
        Radius: float

        Return
        -------
        None

        Description
        -----------
        Creates a Sphere at origin with Radius. The axes of the sphere are the reference axes. An error is raised if the radius is < Resolution.

        Parameters
        ----------
        Center: gp_Pnt
        Radius: float

        Return
        -------
        None

        Description
        -----------
        Creates a Sphere with Center and Radius. Axes are the reference axes. This is the STEP constructor.

        Parameters
        ----------
        Axes: gp_Ax2
        Radius: float

        Return
        -------
        None

        Description
        -----------
        Creates a sphere with given axes system.

        """
        _BRepPrim.BRepPrim_Sphere_swiginit(self, _BRepPrim.new_BRepPrim_Sphere(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_Sphere

# Register BRepPrim_Sphere in _BRepPrim:
_BRepPrim.BRepPrim_Sphere_swigregister(BRepPrim_Sphere)
class BRepPrim_Torus(BRepPrim_Revolution):
    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
        ----------
        Position: gp_Ax2
        Major: float
        Minor: float

        Return
        -------
        None

        Description
        -----------
        the STEP definition Position: center and axes Major, Minor: Radii //! Errors: Major < Resolution Minor < Resolution.

        Parameters
        ----------
        Major: float
        Minor: float

        Return
        -------
        None

        Description
        -----------
        Torus centered at origin.

        Parameters
        ----------
        Center: gp_Pnt
        Major: float
        Minor: float

        Return
        -------
        None

        Description
        -----------
        Torus at Center.

        """
        _BRepPrim.BRepPrim_Torus_swiginit(self, _BRepPrim.new_BRepPrim_Torus(*args))

    __repr__ = _dumps_object

    __swig_destroy__ = _BRepPrim.delete_BRepPrim_Torus

# Register BRepPrim_Torus in _BRepPrim:
_BRepPrim.BRepPrim_Torus_swigregister(BRepPrim_Torus)



