text: # This file was automatically generated by SWIG (http://www.swig.org).
  # Version 2.0.10
  #
  # Do not make changes to this file unless you know what you are doing--modify
  # the SWIG interface file instead.
  
  
  
  from sys import version_info
  if version_info >= (3,0,0):
      new_instancemethod = lambda func, inst, cls: _Geom2d.SWIG_PyInstanceMethod_New(func)
  else:
      from new import instancemethod as new_instancemethod
  if version_info >= (2,6,0):
      def swig_import_helper():
          from os.path import dirname
          import imp
          fp = None
          try:
              fp, pathname, description = imp.find_module('_Geom2d', [dirname(__file__)])
          except ImportError:
              import _Geom2d
              return _Geom2d
          if fp is not None:
              try:
                  _mod = imp.load_module('_Geom2d', fp, pathname, description)
              finally:
                  fp.close()
              return _mod
      _Geom2d = swig_import_helper()
      del swig_import_helper
  else:
      import _Geom2d
  del version_info
  try:
      _swig_property = property
  except NameError:
      pass # Python < 2.2 doesn't have 'property'.
  def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
      if (name == "thisown"): return self.this.own(value)
      if (name == "this"):
          if type(value).__name__ == 'SwigPyObject':
              self.__dict__[name] = value
              return
      method = class_type.__swig_setmethods__.get(name,None)
      if method: return method(self,value)
      if (not static):
          self.__dict__[name] = value
      else:
          raise AttributeError("You cannot add attributes to %s" % self)
  
  def _swig_setattr(self,class_type,name,value):
      return _swig_setattr_nondynamic(self,class_type,name,value,0)
  
  def _swig_getattr(self,class_type,name):
      if (name == "thisown"): return self.this.own()
      method = class_type.__swig_getmethods__.get(name,None)
      if method: return method(self)
      raise AttributeError(name)
  
  def _swig_repr(self):
      try: strthis = "proxy of " + self.this.__repr__()
      except: strthis = ""
      return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
  
  try:
      _object = object
      _newclass = 1
  except AttributeError:
      class _object : pass
      _newclass = 0
  
  
  def _swig_setattr_nondynamic_method(set):
      def set_attr(self,name,value):
          if (name == "thisown"): return self.this.own(value)
          if hasattr(self,name) or (name == "this"):
              set(self,name,value)
          else:
              raise AttributeError("You cannot add attributes to %s" % self)
      return set_attr
  
  
  class SwigPyIterator(object):
      thisown = _swig_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__ = _Geom2d.delete_SwigPyIterator
      def __iter__(self): return self
  SwigPyIterator.value = new_instancemethod(_Geom2d.SwigPyIterator_value,None,SwigPyIterator)
  SwigPyIterator.incr = new_instancemethod(_Geom2d.SwigPyIterator_incr,None,SwigPyIterator)
  SwigPyIterator.decr = new_instancemethod(_Geom2d.SwigPyIterator_decr,None,SwigPyIterator)
  SwigPyIterator.distance = new_instancemethod(_Geom2d.SwigPyIterator_distance,None,SwigPyIterator)
  SwigPyIterator.equal = new_instancemethod(_Geom2d.SwigPyIterator_equal,None,SwigPyIterator)
  SwigPyIterator.copy = new_instancemethod(_Geom2d.SwigPyIterator_copy,None,SwigPyIterator)
  SwigPyIterator.next = new_instancemethod(_Geom2d.SwigPyIterator_next,None,SwigPyIterator)
  SwigPyIterator.__next__ = new_instancemethod(_Geom2d.SwigPyIterator___next__,None,SwigPyIterator)
  SwigPyIterator.previous = new_instancemethod(_Geom2d.SwigPyIterator_previous,None,SwigPyIterator)
  SwigPyIterator.advance = new_instancemethod(_Geom2d.SwigPyIterator_advance,None,SwigPyIterator)
  SwigPyIterator.__eq__ = new_instancemethod(_Geom2d.SwigPyIterator___eq__,None,SwigPyIterator)
  SwigPyIterator.__ne__ = new_instancemethod(_Geom2d.SwigPyIterator___ne__,None,SwigPyIterator)
  SwigPyIterator.__iadd__ = new_instancemethod(_Geom2d.SwigPyIterator___iadd__,None,SwigPyIterator)
  SwigPyIterator.__isub__ = new_instancemethod(_Geom2d.SwigPyIterator___isub__,None,SwigPyIterator)
  SwigPyIterator.__add__ = new_instancemethod(_Geom2d.SwigPyIterator___add__,None,SwigPyIterator)
  SwigPyIterator.__sub__ = new_instancemethod(_Geom2d.SwigPyIterator___sub__,None,SwigPyIterator)
  SwigPyIterator_swigregister = _Geom2d.SwigPyIterator_swigregister
  SwigPyIterator_swigregister(SwigPyIterator)
  
  import OCC.MMgt
  import OCC.Standard
  import OCC.gp
  import OCC.GeomAbs
  import OCC.TColgp
  import OCC.TCollection
  import OCC.TColStd
  def register_handle(handle, base_object):
      """
      Inserts the handle into the base object to
      prevent memory corruption in certain cases
      """
      try:
          if base_object.IsKind("Standard_Transient"):
              base_object.thisHandle = handle
              base_object.thisown = False
      except:
          pass
  
  class Geom2d_Geometry(OCC.MMgt.MMgt_TShared):
      thisown = _swig_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 Mirror(self, *args):
          """
          * Performs the symmetrical transformation of a Geometry with respect to the point P which is the center of the symmetry and assigns the result to this geometric object.
  
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          * Performs the symmetrical transformation of a Geometry with respect to an axis placement which is the axis of the symmetry.
  
          :param A:
          :type A: gp_Ax2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Geometry_Mirror(self, *args)
  
      def Rotate(self, *args):
          """
          * Rotates a Geometry. P is the center of the rotation. Ang is the angular value of the rotation in radians.
  
          :param P:
          :type P: gp_Pnt2d
          :param Ang:
          :type Ang: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Geometry_Rotate(self, *args)
  
      def Scale(self, *args):
          """
          * Scales a Geometry. S is the scaling value.
  
          :param P:
          :type P: gp_Pnt2d
          :param S:
          :type S: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Geometry_Scale(self, *args)
  
      def Translate(self, *args):
          """
          * Translates a Geometry. V is the vector of the tanslation.
  
          :param V:
          :type V: gp_Vec2d
          :rtype: None
  
          * Translates a Geometry from the point P1 to the point P2.
  
          :param P1:
          :type P1: gp_Pnt2d
          :param P2:
          :type P2: gp_Pnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Geometry_Translate(self, *args)
  
      def Transform(self, *args):
          """
          * Transformation of a geometric object. This tansformation can be a translation, a rotation, a symmetry, a scaling or a complex transformation obtained by combination of the previous elementaries transformations. (see class Transformation of the package Geom2d). The following transformations have the same properties as the previous ones but they don't modified the object itself. A copy of the object is returned.
  
          :param T:
          :type T: gp_Trsf2d
          :rtype: void
  
          """
          return _Geom2d.Geom2d_Geometry_Transform(self, *args)
  
      def Mirrored(self, *args):
          """
          :param P:
          :type P: gp_Pnt2d
          :rtype: Handle_Geom2d_Geometry
  
          :param A:
          :type A: gp_Ax2d
          :rtype: Handle_Geom2d_Geometry
  
          """
          return _Geom2d.Geom2d_Geometry_Mirrored(self, *args)
  
      def Rotated(self, *args):
          """
          :param P:
          :type P: gp_Pnt2d
          :param Ang:
          :type Ang: float
          :rtype: Handle_Geom2d_Geometry
  
          """
          return _Geom2d.Geom2d_Geometry_Rotated(self, *args)
  
      def Scaled(self, *args):
          """
          :param P:
          :type P: gp_Pnt2d
          :param S:
          :type S: float
          :rtype: Handle_Geom2d_Geometry
  
          """
          return _Geom2d.Geom2d_Geometry_Scaled(self, *args)
  
      def Transformed(self, *args):
          """
          :param T:
          :type T: gp_Trsf2d
          :rtype: Handle_Geom2d_Geometry
  
          """
          return _Geom2d.Geom2d_Geometry_Transformed(self, *args)
  
      def Translated(self, *args):
          """
          :param V:
          :type V: gp_Vec2d
          :rtype: Handle_Geom2d_Geometry
  
          :param P1:
          :type P1: gp_Pnt2d
          :param P2:
          :type P2: gp_Pnt2d
          :rtype: Handle_Geom2d_Geometry
  
          """
          return _Geom2d.Geom2d_Geometry_Translated(self, *args)
  
      def Copy(self, *args):
          """
          :rtype: Handle_Geom2d_Geometry
  
          """
          return _Geom2d.Geom2d_Geometry_Copy(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Geometry(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Geometry
  Geom2d_Geometry.Mirror = new_instancemethod(_Geom2d.Geom2d_Geometry_Mirror,None,Geom2d_Geometry)
  Geom2d_Geometry.Rotate = new_instancemethod(_Geom2d.Geom2d_Geometry_Rotate,None,Geom2d_Geometry)
  Geom2d_Geometry.Scale = new_instancemethod(_Geom2d.Geom2d_Geometry_Scale,None,Geom2d_Geometry)
  Geom2d_Geometry.Translate = new_instancemethod(_Geom2d.Geom2d_Geometry_Translate,None,Geom2d_Geometry)
  Geom2d_Geometry.Transform = new_instancemethod(_Geom2d.Geom2d_Geometry_Transform,None,Geom2d_Geometry)
  Geom2d_Geometry.Mirrored = new_instancemethod(_Geom2d.Geom2d_Geometry_Mirrored,None,Geom2d_Geometry)
  Geom2d_Geometry.Rotated = new_instancemethod(_Geom2d.Geom2d_Geometry_Rotated,None,Geom2d_Geometry)
  Geom2d_Geometry.Scaled = new_instancemethod(_Geom2d.Geom2d_Geometry_Scaled,None,Geom2d_Geometry)
  Geom2d_Geometry.Transformed = new_instancemethod(_Geom2d.Geom2d_Geometry_Transformed,None,Geom2d_Geometry)
  Geom2d_Geometry.Translated = new_instancemethod(_Geom2d.Geom2d_Geometry_Translated,None,Geom2d_Geometry)
  Geom2d_Geometry.Copy = new_instancemethod(_Geom2d.Geom2d_Geometry_Copy,None,Geom2d_Geometry)
  Geom2d_Geometry_swigregister = _Geom2d.Geom2d_Geometry_swigregister
  Geom2d_Geometry_swigregister(Geom2d_Geometry)
  
  class Handle_Geom2d_Geometry(OCC.MMgt.Handle_MMgt_TShared):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Geometry_swiginit(self,_Geom2d.new_Handle_Geom2d_Geometry(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Geometry_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Geometry
  Handle_Geom2d_Geometry.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Geometry_Nullify,None,Handle_Geom2d_Geometry)
  Handle_Geom2d_Geometry.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Geometry_IsNull,None,Handle_Geom2d_Geometry)
  Handle_Geom2d_Geometry.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Geometry_GetObject,None,Handle_Geom2d_Geometry)
  Handle_Geom2d_Geometry_swigregister = _Geom2d.Handle_Geom2d_Geometry_swigregister
  Handle_Geom2d_Geometry_swigregister(Handle_Geom2d_Geometry)
  
  def Handle_Geom2d_Geometry_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Geometry_DownCast(*args)
  Handle_Geom2d_Geometry_DownCast = _Geom2d.Handle_Geom2d_Geometry_DownCast
  
  class Geom2d_Transformation(OCC.MMgt.MMgt_TShared):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates an identity transformation.
  
          :rtype: None
  
          * Creates a persistent copy of T.
  
          :param T:
          :type T: gp_Trsf2d
          :rtype: None
  
          """
          _Geom2d.Geom2d_Transformation_swiginit(self,_Geom2d.new_Geom2d_Transformation(*args))
      def SetMirror(self, *args):
          """
          * Makes the transformation into a symmetrical transformation with respect to a point P. P is the center of the symmetry.
  
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          * Makes the transformation into a symmetrical transformation with respect to an axis A. A is the center of the axial symmetry.
  
          :param A:
          :type A: gp_Ax2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_SetMirror(self, *args)
  
      def SetRotation(self, *args):
          """
          * Assigns to this transformation the geometric properties of a rotation at angle Ang (in radians) about point P.
  
          :param P:
          :type P: gp_Pnt2d
          :param Ang:
          :type Ang: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_SetRotation(self, *args)
  
      def SetScale(self, *args):
          """
          * Makes the transformation into a scale. P is the center of the scale and S is the scaling value.
  
          :param P:
          :type P: gp_Pnt2d
          :param S:
          :type S: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_SetScale(self, *args)
  
      def SetTransformation(self, *args):
          """
          * Makes a transformation allowing passage from the coordinate system 'FromSystem1' to the coordinate system 'ToSystem2'.
  
          :param FromSystem1:
          :type FromSystem1: gp_Ax2d
          :param ToSystem2:
          :type ToSystem2: gp_Ax2d
          :rtype: None
  
          * Makes the transformation allowing passage from the basic coordinate system {P(0.,0.,0.), VX (1.,0.,0.), VY (0.,1.,0.)} to the local coordinate system defined with the Ax2d ToSystem.
  
          :param ToSystem:
          :type ToSystem: gp_Ax2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_SetTransformation(self, *args)
  
      def SetTranslation(self, *args):
          """
          * Makes the transformation into a translation. V is the vector of the translation.
  
          :param V:
          :type V: gp_Vec2d
          :rtype: None
  
          * Makes the transformation into a translation from the point P1 to the point P2.
  
          :param P1:
          :type P1: gp_Pnt2d
          :param P2:
          :type P2: gp_Pnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_SetTranslation(self, *args)
  
      def SetTrsf2d(self, *args):
          """
          * Makes the transformation into a transformation T from package gp.
  
          :param T:
          :type T: gp_Trsf2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_SetTrsf2d(self, *args)
  
      def IsNegative(self, *args):
          """
          * Checks whether this transformation is an indirect transformation: returns true if the determinant of the matrix of the vectorial part of the transformation is less than 0.
  
          :rtype: bool
  
          """
          return _Geom2d.Geom2d_Transformation_IsNegative(self, *args)
  
      def Form(self, *args):
          """
          * Returns the nature of this transformation as a value of the gp_TrsfForm enumeration. Returns the nature of the transformation. It can be Identity, Rotation, Translation, PntMirror, Ax1Mirror, Scale, CompoundTrsf
  
          :rtype: gp_TrsfForm
  
          """
          return _Geom2d.Geom2d_Transformation_Form(self, *args)
  
      def ScaleFactor(self, *args):
          """
          * Returns the scale value of the transformation.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Transformation_ScaleFactor(self, *args)
  
      def Trsf2d(self, *args):
          """
          * Converts this transformation into a gp_Trsf2d transformation. Returns a non persistent copy of <self>. -C++: return const&
  
          :rtype: gp_Trsf2d
  
          """
          return _Geom2d.Geom2d_Transformation_Trsf2d(self, *args)
  
      def Value(self, *args):
          """
          * Returns the coefficients of the global matrix of tranformation. It is a 2 rows X 3 columns matrix. Raised if Row < 1 or Row > 2 or Col < 1 or Col > 2 Computes the reverse transformation.
  
          :param Row:
          :type Row: int
          :param Col:
          :type Col: int
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Transformation_Value(self, *args)
  
      def Invert(self, *args):
          """
          * Computes the inverse of this transformation. and assigns the result to this transformatio Raised if the the transformation is singular. This means that the ScaleFactor is lower or equal to Resolution from package gp.
  
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_Invert(self, *args)
  
      def Inverted(self, *args):
          """
          * Computes the inverse of this transformation and creates a new one. Raises ConstructionError if the the transformation is singular. This means that the ScaleFactor is lower or equal to Resolution from package gp.
  
          :rtype: Handle_Geom2d_Transformation
  
          """
          return _Geom2d.Geom2d_Transformation_Inverted(self, *args)
  
      def Multiplied(self, *args):
          """
          * Computes the transformation composed with Other and <self>. <self> * Other. Returns a new transformation
  
          :param Other:
          :type Other: Handle_Geom2d_Transformation &
          :rtype: Handle_Geom2d_Transformation
  
          """
          return _Geom2d.Geom2d_Transformation_Multiplied(self, *args)
  
      def __mul__(self, *args):
          """
          :param Other:
          :type Other: Handle_Geom2d_Transformation &
          :rtype: Handle_Geom2d_Transformation
  
          """
          return _Geom2d.Geom2d_Transformation___mul__(self, *args)
  
      def Multiply(self, *args):
          """
          * Computes the transformation composed with Other and <self> . <self> = <self> * Other. Computes the following composition of transformations if N > 0 <self> * <self> * .......* <self>. if N = 0 Identity if N < 0 <self>.Invert() * .........* <self>.Invert()
  
          :param Other:
          :type Other: Handle_Geom2d_Transformation &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_Multiply(self, *args)
  
      def __imul__(self, *args):
          """
          :param Other:
          :type Other: Handle_Geom2d_Transformation &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation___imul__(self, *args)
  
      def Power(self, *args):
          """
          * Raised if N < 0 and if the transformation is not inversible
  
          :param N:
          :type N: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_Power(self, *args)
  
      def Powered(self, *args):
          """
          * Raised if N < 0 and if the transformation is not inversible
  
          :param N:
          :type N: int
          :rtype: Handle_Geom2d_Transformation
  
          """
          return _Geom2d.Geom2d_Transformation_Powered(self, *args)
  
      def PreMultiply(self, *args):
          """
          * Computes the matrix of the transformation composed with <self> and Other. <self> = Other * <self>
  
          :param Other:
          :type Other: Handle_Geom2d_Transformation &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_PreMultiply(self, *args)
  
      def Transforms(self, *args):
          """
          * Applies the transformation <self> to the triplet {X, Y}.
  
          :param X:
          :type X: float &
          :param Y:
          :type Y: float &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Transformation_Transforms(self, *args)
  
      def Copy(self, *args):
          """
          * Creates a new object, which is a copy of this transformation.
  
          :rtype: Handle_Geom2d_Transformation
  
          """
          return _Geom2d.Geom2d_Transformation_Copy(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Transformation(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Transformation
  Geom2d_Transformation.SetMirror = new_instancemethod(_Geom2d.Geom2d_Transformation_SetMirror,None,Geom2d_Transformation)
  Geom2d_Transformation.SetRotation = new_instancemethod(_Geom2d.Geom2d_Transformation_SetRotation,None,Geom2d_Transformation)
  Geom2d_Transformation.SetScale = new_instancemethod(_Geom2d.Geom2d_Transformation_SetScale,None,Geom2d_Transformation)
  Geom2d_Transformation.SetTransformation = new_instancemethod(_Geom2d.Geom2d_Transformation_SetTransformation,None,Geom2d_Transformation)
  Geom2d_Transformation.SetTranslation = new_instancemethod(_Geom2d.Geom2d_Transformation_SetTranslation,None,Geom2d_Transformation)
  Geom2d_Transformation.SetTrsf2d = new_instancemethod(_Geom2d.Geom2d_Transformation_SetTrsf2d,None,Geom2d_Transformation)
  Geom2d_Transformation.IsNegative = new_instancemethod(_Geom2d.Geom2d_Transformation_IsNegative,None,Geom2d_Transformation)
  Geom2d_Transformation.Form = new_instancemethod(_Geom2d.Geom2d_Transformation_Form,None,Geom2d_Transformation)
  Geom2d_Transformation.ScaleFactor = new_instancemethod(_Geom2d.Geom2d_Transformation_ScaleFactor,None,Geom2d_Transformation)
  Geom2d_Transformation.Trsf2d = new_instancemethod(_Geom2d.Geom2d_Transformation_Trsf2d,None,Geom2d_Transformation)
  Geom2d_Transformation.Value = new_instancemethod(_Geom2d.Geom2d_Transformation_Value,None,Geom2d_Transformation)
  Geom2d_Transformation.Invert = new_instancemethod(_Geom2d.Geom2d_Transformation_Invert,None,Geom2d_Transformation)
  Geom2d_Transformation.Inverted = new_instancemethod(_Geom2d.Geom2d_Transformation_Inverted,None,Geom2d_Transformation)
  Geom2d_Transformation.Multiplied = new_instancemethod(_Geom2d.Geom2d_Transformation_Multiplied,None,Geom2d_Transformation)
  Geom2d_Transformation.__mul__ = new_instancemethod(_Geom2d.Geom2d_Transformation___mul__,None,Geom2d_Transformation)
  Geom2d_Transformation.Multiply = new_instancemethod(_Geom2d.Geom2d_Transformation_Multiply,None,Geom2d_Transformation)
  Geom2d_Transformation.__imul__ = new_instancemethod(_Geom2d.Geom2d_Transformation___imul__,None,Geom2d_Transformation)
  Geom2d_Transformation.Power = new_instancemethod(_Geom2d.Geom2d_Transformation_Power,None,Geom2d_Transformation)
  Geom2d_Transformation.Powered = new_instancemethod(_Geom2d.Geom2d_Transformation_Powered,None,Geom2d_Transformation)
  Geom2d_Transformation.PreMultiply = new_instancemethod(_Geom2d.Geom2d_Transformation_PreMultiply,None,Geom2d_Transformation)
  Geom2d_Transformation.Transforms = new_instancemethod(_Geom2d.Geom2d_Transformation_Transforms,None,Geom2d_Transformation)
  Geom2d_Transformation.Copy = new_instancemethod(_Geom2d.Geom2d_Transformation_Copy,None,Geom2d_Transformation)
  Geom2d_Transformation_swigregister = _Geom2d.Geom2d_Transformation_swigregister
  Geom2d_Transformation_swigregister(Geom2d_Transformation)
  
  class Handle_Geom2d_Transformation(OCC.MMgt.Handle_MMgt_TShared):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Transformation_swiginit(self,_Geom2d.new_Handle_Geom2d_Transformation(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Transformation_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Transformation
  Handle_Geom2d_Transformation.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Transformation_Nullify,None,Handle_Geom2d_Transformation)
  Handle_Geom2d_Transformation.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Transformation_IsNull,None,Handle_Geom2d_Transformation)
  Handle_Geom2d_Transformation.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Transformation_GetObject,None,Handle_Geom2d_Transformation)
  Handle_Geom2d_Transformation_swigregister = _Geom2d.Handle_Geom2d_Transformation_swigregister
  Handle_Geom2d_Transformation_swigregister(Handle_Geom2d_Transformation)
  
  def Handle_Geom2d_Transformation_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Transformation_DownCast(*args)
  Handle_Geom2d_Transformation_DownCast = _Geom2d.Handle_Geom2d_Transformation_DownCast
  
  class Geom2d_AxisPlacement(Geom2d_Geometry):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Constructs an axis by conversion of the gp_Ax2d axis A.
  
          :param A:
          :type A: gp_Ax2d
          :rtype: None
  
          * Constructs an axis from a given origin P and unit vector V.
  
          :param P:
          :type P: gp_Pnt2d
          :param V:
          :type V: gp_Dir2d
          :rtype: None
  
          """
          _Geom2d.Geom2d_AxisPlacement_swiginit(self,_Geom2d.new_Geom2d_AxisPlacement(*args))
      def Reverse(self, *args):
          """
          :rtype: None
  
          """
          return _Geom2d.Geom2d_AxisPlacement_Reverse(self, *args)
  
      def Reversed(self, *args):
          """
          * Reverses the unit vector of this axis. Note: - Reverse assigns the result to this axis, while - Reversed creates a new one.
  
          :rtype: Handle_Geom2d_AxisPlacement
  
          """
          return _Geom2d.Geom2d_AxisPlacement_Reversed(self, *args)
  
      def SetAxis(self, *args):
          """
          * Changes the complete definition of the axis placement.
  
          :param A:
          :type A: gp_Ax2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_AxisPlacement_SetAxis(self, *args)
  
      def SetDirection(self, *args):
          """
          * Changes the 'Direction' of the axis placement.
  
          :param V:
          :type V: gp_Dir2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_AxisPlacement_SetDirection(self, *args)
  
      def SetLocation(self, *args):
          """
          * Changes the 'Location' point (origin) of the axis placement.
  
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_AxisPlacement_SetLocation(self, *args)
  
      def Angle(self, *args):
          """
          * Computes the angle between the 'Direction' of two axis placement in radians. The result is comprised between -Pi and Pi.
  
          :param Other:
          :type Other: Handle_Geom2d_AxisPlacement &
          :rtype: float
  
          """
          return _Geom2d.Geom2d_AxisPlacement_Angle(self, *args)
  
      def Ax2d(self, *args):
          """
          * Converts this axis into a gp_Ax2d axis.
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_AxisPlacement_Ax2d(self, *args)
  
      def Direction(self, *args):
          """
          * Returns the 'Direction' of <self>. -C++: return const&
  
          :rtype: gp_Dir2d
  
          """
          return _Geom2d.Geom2d_AxisPlacement_Direction(self, *args)
  
      def Location(self, *args):
          """
          * Returns the 'Location' point (origin) of the axis placement. -C++: return const&
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_AxisPlacement_Location(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_AxisPlacement(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_AxisPlacement
  Geom2d_AxisPlacement.Reverse = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_Reverse,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement.Reversed = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_Reversed,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement.SetAxis = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_SetAxis,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement.SetDirection = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_SetDirection,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement.SetLocation = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_SetLocation,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement.Angle = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_Angle,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement.Ax2d = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_Ax2d,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement.Direction = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_Direction,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement.Location = new_instancemethod(_Geom2d.Geom2d_AxisPlacement_Location,None,Geom2d_AxisPlacement)
  Geom2d_AxisPlacement_swigregister = _Geom2d.Geom2d_AxisPlacement_swigregister
  Geom2d_AxisPlacement_swigregister(Geom2d_AxisPlacement)
  
  class Handle_Geom2d_AxisPlacement(Handle_Geom2d_Geometry):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_AxisPlacement_swiginit(self,_Geom2d.new_Handle_Geom2d_AxisPlacement(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_AxisPlacement_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_AxisPlacement
  Handle_Geom2d_AxisPlacement.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_AxisPlacement_Nullify,None,Handle_Geom2d_AxisPlacement)
  Handle_Geom2d_AxisPlacement.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_AxisPlacement_IsNull,None,Handle_Geom2d_AxisPlacement)
  Handle_Geom2d_AxisPlacement.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_AxisPlacement_GetObject,None,Handle_Geom2d_AxisPlacement)
  Handle_Geom2d_AxisPlacement_swigregister = _Geom2d.Handle_Geom2d_AxisPlacement_swigregister
  Handle_Geom2d_AxisPlacement_swigregister(Handle_Geom2d_AxisPlacement)
  
  def Handle_Geom2d_AxisPlacement_DownCast(*args):
    return _Geom2d.Handle_Geom2d_AxisPlacement_DownCast(*args)
  Handle_Geom2d_AxisPlacement_DownCast = _Geom2d.Handle_Geom2d_AxisPlacement_DownCast
  
  class Geom2d_Curve(Geom2d_Geometry):
      thisown = _swig_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 Reverse(self, *args):
          """
          * Changes the direction of parametrization of <self>. The 'FirstParameter' and the 'LastParameter' are not changed but the orientation of the curve is modified. If the curve is bounded the StartPoint of the initial curve becomes the EndPoint of the reversed curve and the EndPoint of the initial curve becomes the StartPoint of the reversed curve.
  
          :rtype: void
  
          """
          return _Geom2d.Geom2d_Curve_Reverse(self, *args)
  
      def ReversedParameter(self, *args):
          """
          * Computes the parameter on the reversed curve for the point of parameter U on this curve. Note: The point of parameter U on this curve is identical to the point of parameter ReversedParameter(U) on the reversed curve.
  
          :param U:
          :type U: float
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Curve_ReversedParameter(self, *args)
  
      def TransformedParameter(self, *args):
          """
          * Computes the parameter on the curve transformed by T for the point of parameter U on this curve. Note: this function generally returns U but it can be redefined (for example, on a line).
  
          :param U:
          :type U: float
          :param T:
          :type T: gp_Trsf2d
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Curve_TransformedParameter(self, *args)
  
      def ParametricTransformation(self, *args):
          """
          * Returns the coefficient required to compute the parametric transformation of this curve when transformation T is applied. This coefficient is the ratio between the parameter of a point on this curve and the parameter of the transformed point on the new curve transformed by T. Note: this function generally returns 1. but it can be redefined (for example, on a line).
  
          :param T:
          :type T: gp_Trsf2d
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Curve_ParametricTransformation(self, *args)
  
      def Reversed(self, *args):
          """
          * Creates a reversed duplicate Changes the orientation of this curve. The first and last parameters are not changed, but the parametric direction of the curve is reversed. If the curve is bounded: - the start point of the initial curve becomes the end point of the reversed curve, and - the end point of the initial curve becomes the start point of the reversed curve. - Reversed creates a new curve.
  
          :rtype: Handle_Geom2d_Curve
  
          """
          return _Geom2d.Geom2d_Curve_Reversed(self, *args)
  
      def FirstParameter(self, *args):
          """
          * Returns the value of the first parameter. Warnings : It can be RealFirst or RealLast from package Standard if the curve is infinite
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Curve_FirstParameter(self, *args)
  
      def LastParameter(self, *args):
          """
          * Value of the last parameter. Warnings : It can be RealFirst or RealLast from package Standard if the curve is infinite
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Curve_LastParameter(self, *args)
  
      def IsClosed(self, *args):
          """
          * Returns true if the curve is closed. Examples : Some curves such as circle are always closed, others such as line are never closed (by definition). Some Curves such as OffsetCurve can be closed or not. These curves are considered as closed if the distance between the first point and the last point of the curve is lower or equal to the Resolution from package gp wich is a fixed criterion independant of the application.
  
          :rtype: bool
  
          """
          return _Geom2d.Geom2d_Curve_IsClosed(self, *args)
  
      def IsPeriodic(self, *args):
          """
          * Returns true if the parameter of the curve is periodic. It is possible only if the curve is closed and if the following relation is satisfied : for each parametric value U the distance between the point P(u) and the point P (u + T) is lower or equal to Resolution from package gp, T is the period and must be a constant. There are three possibilities : . the curve is never periodic by definition (SegmentLine) . the curve is always periodic by definition (Circle) . the curve can be defined as periodic (BSpline). In this case a function SetPeriodic allows you to give the shape of the curve. The general rule for this case is : if a curve can be periodic or not the default periodicity set is non periodic and you have to turn (explicitly) the curve into a periodic curve if you want the curve to be periodic.
  
          :rtype: bool
  
          """
          return _Geom2d.Geom2d_Curve_IsPeriodic(self, *args)
  
      def Period(self, *args):
          """
          * Returns thne period of this curve. raises if the curve is not periodic
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Curve_Period(self, *args)
  
      def Continuity(self, *args):
          """
          * It is the global continuity of the curve : C0 : only geometric continuity, C1 : continuity of the first derivative all along the Curve, C2 : continuity of the second derivative all along the Curve, C3 : continuity of the third derivative all along the Curve, G1 : tangency continuity all along the Curve, G2 : curvature continuity all along the Curve, CN : the order of continuity is infinite.
  
          :rtype: GeomAbs_Shape
  
          """
          return _Geom2d.Geom2d_Curve_Continuity(self, *args)
  
      def IsCN(self, *args):
          """
          * Returns true if the degree of continuity of this curve is at least N. Exceptions Standard_RangeError if N is less than 0.
  
          :param N:
          :type N: int
          :rtype: bool
  
          """
          return _Geom2d.Geom2d_Curve_IsCN(self, *args)
  
      def D0(self, *args):
          """
          * Returns in P the point of parameter U. If the curve is periodic then the returned point is P(U) with U = Ustart + (U - Uend) where Ustart and Uend are the parametric bounds of the curve. Raised only for the 'OffsetCurve' if it is not possible to compute the current point. For example when the first derivative on the basis curve and the offset direction are parallel.
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :rtype: void
  
          """
          return _Geom2d.Geom2d_Curve_D0(self, *args)
  
      def D1(self, *args):
          """
          * Returns the point P of parameter U and the first derivative V1. Raised if the continuity of the curve is not C1.
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :rtype: void
  
          """
          return _Geom2d.Geom2d_Curve_D1(self, *args)
  
      def D2(self, *args):
          """
          * Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the curve is not C2.
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :param V2:
          :type V2: gp_Vec2d
          :rtype: void
  
          """
          return _Geom2d.Geom2d_Curve_D2(self, *args)
  
      def D3(self, *args):
          """
          * Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the curve is not C3.
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :param V2:
          :type V2: gp_Vec2d
          :param V3:
          :type V3: gp_Vec2d
          :rtype: void
  
          """
          return _Geom2d.Geom2d_Curve_D3(self, *args)
  
      def DN(self, *args):
          """
          * For the point of parameter U of this curve, computes the vector corresponding to the Nth derivative. Exceptions StdFail_UndefinedDerivative if: - the continuity of the curve is not 'CN', or - the derivative vector cannot be computed easily; this is the case with specific types of curve (for example, a rational BSpline curve where N is greater than 3). Standard_RangeError if N is less than 1.
  
          :param U:
          :type U: float
          :param N:
          :type N: int
          :rtype: gp_Vec2d
  
          """
          return _Geom2d.Geom2d_Curve_DN(self, *args)
  
      def Value(self, *args):
          """
          * Computes the point of parameter U on <self>. If the curve is periodic then the returned point is P(U) with U = Ustart + (U - Uend) where Ustart and Uend are the parametric bounds of the curve. it is implemented with D0. Raised only for the 'OffsetCurve' if it is not possible to compute the current point. For example when the first derivative on the basis curve and the offset direction are parallel.
  
          :param U:
          :type U: float
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Curve_Value(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Curve(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Curve
  Geom2d_Curve.Reverse = new_instancemethod(_Geom2d.Geom2d_Curve_Reverse,None,Geom2d_Curve)
  Geom2d_Curve.ReversedParameter = new_instancemethod(_Geom2d.Geom2d_Curve_ReversedParameter,None,Geom2d_Curve)
  Geom2d_Curve.TransformedParameter = new_instancemethod(_Geom2d.Geom2d_Curve_TransformedParameter,None,Geom2d_Curve)
  Geom2d_Curve.ParametricTransformation = new_instancemethod(_Geom2d.Geom2d_Curve_ParametricTransformation,None,Geom2d_Curve)
  Geom2d_Curve.Reversed = new_instancemethod(_Geom2d.Geom2d_Curve_Reversed,None,Geom2d_Curve)
  Geom2d_Curve.FirstParameter = new_instancemethod(_Geom2d.Geom2d_Curve_FirstParameter,None,Geom2d_Curve)
  Geom2d_Curve.LastParameter = new_instancemethod(_Geom2d.Geom2d_Curve_LastParameter,None,Geom2d_Curve)
  Geom2d_Curve.IsClosed = new_instancemethod(_Geom2d.Geom2d_Curve_IsClosed,None,Geom2d_Curve)
  Geom2d_Curve.IsPeriodic = new_instancemethod(_Geom2d.Geom2d_Curve_IsPeriodic,None,Geom2d_Curve)
  Geom2d_Curve.Period = new_instancemethod(_Geom2d.Geom2d_Curve_Period,None,Geom2d_Curve)
  Geom2d_Curve.Continuity = new_instancemethod(_Geom2d.Geom2d_Curve_Continuity,None,Geom2d_Curve)
  Geom2d_Curve.IsCN = new_instancemethod(_Geom2d.Geom2d_Curve_IsCN,None,Geom2d_Curve)
  Geom2d_Curve.D0 = new_instancemethod(_Geom2d.Geom2d_Curve_D0,None,Geom2d_Curve)
  Geom2d_Curve.D1 = new_instancemethod(_Geom2d.Geom2d_Curve_D1,None,Geom2d_Curve)
  Geom2d_Curve.D2 = new_instancemethod(_Geom2d.Geom2d_Curve_D2,None,Geom2d_Curve)
  Geom2d_Curve.D3 = new_instancemethod(_Geom2d.Geom2d_Curve_D3,None,Geom2d_Curve)
  Geom2d_Curve.DN = new_instancemethod(_Geom2d.Geom2d_Curve_DN,None,Geom2d_Curve)
  Geom2d_Curve.Value = new_instancemethod(_Geom2d.Geom2d_Curve_Value,None,Geom2d_Curve)
  Geom2d_Curve_swigregister = _Geom2d.Geom2d_Curve_swigregister
  Geom2d_Curve_swigregister(Geom2d_Curve)
  
  class Handle_Geom2d_Curve(Handle_Geom2d_Geometry):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Curve_swiginit(self,_Geom2d.new_Handle_Geom2d_Curve(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Curve_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Curve
  Handle_Geom2d_Curve.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Curve_Nullify,None,Handle_Geom2d_Curve)
  Handle_Geom2d_Curve.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Curve_IsNull,None,Handle_Geom2d_Curve)
  Handle_Geom2d_Curve.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Curve_GetObject,None,Handle_Geom2d_Curve)
  Handle_Geom2d_Curve_swigregister = _Geom2d.Handle_Geom2d_Curve_swigregister
  Handle_Geom2d_Curve_swigregister(Handle_Geom2d_Curve)
  
  def Handle_Geom2d_Curve_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Curve_DownCast(*args)
  Handle_Geom2d_Curve_DownCast = _Geom2d.Handle_Geom2d_Curve_DownCast
  
  class Geom2d_Point(Geom2d_Geometry):
      thisown = _swig_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 Coord(self, *args):
          """
          * returns the Coordinates of <self>.
  
          :param X:
          :type X: float &
          :param Y:
          :type Y: float &
          :rtype: void
  
          """
          return _Geom2d.Geom2d_Point_Coord(self, *args)
  
      def Pnt2d(self, *args):
          """
          * returns a non persistent copy of <self>
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Point_Pnt2d(self, *args)
  
      def X(self, *args):
          """
          * returns the X coordinate of <self>.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Point_X(self, *args)
  
      def Y(self, *args):
          """
          * returns the Y coordinate of <self>.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Point_Y(self, *args)
  
      def Distance(self, *args):
          """
          * computes the distance between <self> and <Other>.
  
          :param Other:
          :type Other: Handle_Geom2d_Point &
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Point_Distance(self, *args)
  
      def SquareDistance(self, *args):
          """
          * computes the square distance between <self> and <Other>.
  
          :param Other:
          :type Other: Handle_Geom2d_Point &
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Point_SquareDistance(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Point(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Point
  Geom2d_Point.Coord = new_instancemethod(_Geom2d.Geom2d_Point_Coord,None,Geom2d_Point)
  Geom2d_Point.Pnt2d = new_instancemethod(_Geom2d.Geom2d_Point_Pnt2d,None,Geom2d_Point)
  Geom2d_Point.X = new_instancemethod(_Geom2d.Geom2d_Point_X,None,Geom2d_Point)
  Geom2d_Point.Y = new_instancemethod(_Geom2d.Geom2d_Point_Y,None,Geom2d_Point)
  Geom2d_Point.Distance = new_instancemethod(_Geom2d.Geom2d_Point_Distance,None,Geom2d_Point)
  Geom2d_Point.SquareDistance = new_instancemethod(_Geom2d.Geom2d_Point_SquareDistance,None,Geom2d_Point)
  Geom2d_Point_swigregister = _Geom2d.Geom2d_Point_swigregister
  Geom2d_Point_swigregister(Geom2d_Point)
  
  class Handle_Geom2d_Point(Handle_Geom2d_Geometry):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Point_swiginit(self,_Geom2d.new_Handle_Geom2d_Point(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Point_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Point
  Handle_Geom2d_Point.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Point_Nullify,None,Handle_Geom2d_Point)
  Handle_Geom2d_Point.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Point_IsNull,None,Handle_Geom2d_Point)
  Handle_Geom2d_Point.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Point_GetObject,None,Handle_Geom2d_Point)
  Handle_Geom2d_Point_swigregister = _Geom2d.Handle_Geom2d_Point_swigregister
  Handle_Geom2d_Point_swigregister(Handle_Geom2d_Point)
  
  def Handle_Geom2d_Point_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Point_DownCast(*args)
  Handle_Geom2d_Point_DownCast = _Geom2d.Handle_Geom2d_Point_DownCast
  
  class Geom2d_Vector(Geom2d_Geometry):
      thisown = _swig_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 Reverse(self, *args):
          """
          * Reverses the vector <self>.
  
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Vector_Reverse(self, *args)
  
      def Reversed(self, *args):
          """
          * Returns a copy of <self> reversed.
  
          :rtype: Handle_Geom2d_Vector
  
          """
          return _Geom2d.Geom2d_Vector_Reversed(self, *args)
  
      def Angle(self, *args):
          """
          * Computes the angular value, in radians, between this vector and vector Other. The result is a value between -Pi and Pi. The orientation is from this vector to vector Other. Raises VectorWithNullMagnitude if one of the two vectors is a vector with null magnitude because the angular value is indefinite.
  
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Vector_Angle(self, *args)
  
      def Coord(self, *args):
          """
          * Returns the coordinates of <self>.
  
          :param X:
          :type X: float &
          :param Y:
          :type Y: float &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Vector_Coord(self, *args)
  
      def Magnitude(self, *args):
          """
          * Returns the Magnitude of <self>.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Vector_Magnitude(self, *args)
  
      def SquareMagnitude(self, *args):
          """
          * Returns the square magnitude of <self>.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Vector_SquareMagnitude(self, *args)
  
      def X(self, *args):
          """
          * Returns the X coordinate of <self>.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Vector_X(self, *args)
  
      def Y(self, *args):
          """
          * Returns the Y coordinate of <self>.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Vector_Y(self, *args)
  
      def Crossed(self, *args):
          """
          * Cross product of <self> with the vector <Other>.
  
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Vector_Crossed(self, *args)
  
      def Dot(self, *args):
          """
          * Returns the scalar product of 2 Vectors.
  
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Vector_Dot(self, *args)
  
      def Vec2d(self, *args):
          """
          * Returns a non persistent copy of <self>.
  
          :rtype: gp_Vec2d
  
          """
          return _Geom2d.Geom2d_Vector_Vec2d(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Vector(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Vector
  Geom2d_Vector.Reverse = new_instancemethod(_Geom2d.Geom2d_Vector_Reverse,None,Geom2d_Vector)
  Geom2d_Vector.Reversed = new_instancemethod(_Geom2d.Geom2d_Vector_Reversed,None,Geom2d_Vector)
  Geom2d_Vector.Angle = new_instancemethod(_Geom2d.Geom2d_Vector_Angle,None,Geom2d_Vector)
  Geom2d_Vector.Coord = new_instancemethod(_Geom2d.Geom2d_Vector_Coord,None,Geom2d_Vector)
  Geom2d_Vector.Magnitude = new_instancemethod(_Geom2d.Geom2d_Vector_Magnitude,None,Geom2d_Vector)
  Geom2d_Vector.SquareMagnitude = new_instancemethod(_Geom2d.Geom2d_Vector_SquareMagnitude,None,Geom2d_Vector)
  Geom2d_Vector.X = new_instancemethod(_Geom2d.Geom2d_Vector_X,None,Geom2d_Vector)
  Geom2d_Vector.Y = new_instancemethod(_Geom2d.Geom2d_Vector_Y,None,Geom2d_Vector)
  Geom2d_Vector.Crossed = new_instancemethod(_Geom2d.Geom2d_Vector_Crossed,None,Geom2d_Vector)
  Geom2d_Vector.Dot = new_instancemethod(_Geom2d.Geom2d_Vector_Dot,None,Geom2d_Vector)
  Geom2d_Vector.Vec2d = new_instancemethod(_Geom2d.Geom2d_Vector_Vec2d,None,Geom2d_Vector)
  Geom2d_Vector_swigregister = _Geom2d.Geom2d_Vector_swigregister
  Geom2d_Vector_swigregister(Geom2d_Vector)
  
  class Handle_Geom2d_Vector(Handle_Geom2d_Geometry):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Vector_swiginit(self,_Geom2d.new_Handle_Geom2d_Vector(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Vector_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Vector
  Handle_Geom2d_Vector.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Vector_Nullify,None,Handle_Geom2d_Vector)
  Handle_Geom2d_Vector.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Vector_IsNull,None,Handle_Geom2d_Vector)
  Handle_Geom2d_Vector.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Vector_GetObject,None,Handle_Geom2d_Vector)
  Handle_Geom2d_Vector_swigregister = _Geom2d.Handle_Geom2d_Vector_swigregister
  Handle_Geom2d_Vector_swigregister(Handle_Geom2d_Vector)
  
  def Handle_Geom2d_Vector_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Vector_DownCast(*args)
  Handle_Geom2d_Vector_DownCast = _Geom2d.Handle_Geom2d_Vector_DownCast
  
  class Geom2d_BoundedCurve(Geom2d_Curve):
      thisown = _swig_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 EndPoint(self, *args):
          """
          * Returns the end point of the curve. The end point is the value of the curve for the 'LastParameter' of the curve.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_BoundedCurve_EndPoint(self, *args)
  
      def StartPoint(self, *args):
          """
          * Returns the start point of the curve. The start point is the value of the curve for the 'FirstParameter' of the curve.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_BoundedCurve_StartPoint(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_BoundedCurve(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_BoundedCurve
  Geom2d_BoundedCurve.EndPoint = new_instancemethod(_Geom2d.Geom2d_BoundedCurve_EndPoint,None,Geom2d_BoundedCurve)
  Geom2d_BoundedCurve.StartPoint = new_instancemethod(_Geom2d.Geom2d_BoundedCurve_StartPoint,None,Geom2d_BoundedCurve)
  Geom2d_BoundedCurve_swigregister = _Geom2d.Geom2d_BoundedCurve_swigregister
  Geom2d_BoundedCurve_swigregister(Geom2d_BoundedCurve)
  
  class Handle_Geom2d_BoundedCurve(Handle_Geom2d_Curve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_BoundedCurve_swiginit(self,_Geom2d.new_Handle_Geom2d_BoundedCurve(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_BoundedCurve_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_BoundedCurve
  Handle_Geom2d_BoundedCurve.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_BoundedCurve_Nullify,None,Handle_Geom2d_BoundedCurve)
  Handle_Geom2d_BoundedCurve.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_BoundedCurve_IsNull,None,Handle_Geom2d_BoundedCurve)
  Handle_Geom2d_BoundedCurve.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_BoundedCurve_GetObject,None,Handle_Geom2d_BoundedCurve)
  Handle_Geom2d_BoundedCurve_swigregister = _Geom2d.Handle_Geom2d_BoundedCurve_swigregister
  Handle_Geom2d_BoundedCurve_swigregister(Handle_Geom2d_BoundedCurve)
  
  def Handle_Geom2d_BoundedCurve_DownCast(*args):
    return _Geom2d.Handle_Geom2d_BoundedCurve_DownCast(*args)
  Handle_Geom2d_BoundedCurve_DownCast = _Geom2d.Handle_Geom2d_BoundedCurve_DownCast
  
  class Geom2d_CartesianPoint(Geom2d_Point):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Returns a persistent copy of P.
  
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          :param X:
          :type X: float
          :param Y:
          :type Y: float
          :rtype: None
  
          """
          _Geom2d.Geom2d_CartesianPoint_swiginit(self,_Geom2d.new_Geom2d_CartesianPoint(*args))
      def SetCoord(self, *args):
          """
          * Set <self> to X, Y coordinates.
  
          :param X:
          :type X: float
          :param Y:
          :type Y: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_CartesianPoint_SetCoord(self, *args)
  
      def SetPnt2d(self, *args):
          """
          * Set <self> to P.X(), P.Y() coordinates.
  
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_CartesianPoint_SetPnt2d(self, *args)
  
      def SetX(self, *args):
          """
          * Changes the X coordinate of me.
  
          :param X:
          :type X: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_CartesianPoint_SetX(self, *args)
  
      def SetY(self, *args):
          """
          * Changes the Y coordinate of me.
  
          :param Y:
          :type Y: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_CartesianPoint_SetY(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_CartesianPoint(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_CartesianPoint
  Geom2d_CartesianPoint.SetCoord = new_instancemethod(_Geom2d.Geom2d_CartesianPoint_SetCoord,None,Geom2d_CartesianPoint)
  Geom2d_CartesianPoint.SetPnt2d = new_instancemethod(_Geom2d.Geom2d_CartesianPoint_SetPnt2d,None,Geom2d_CartesianPoint)
  Geom2d_CartesianPoint.SetX = new_instancemethod(_Geom2d.Geom2d_CartesianPoint_SetX,None,Geom2d_CartesianPoint)
  Geom2d_CartesianPoint.SetY = new_instancemethod(_Geom2d.Geom2d_CartesianPoint_SetY,None,Geom2d_CartesianPoint)
  Geom2d_CartesianPoint_swigregister = _Geom2d.Geom2d_CartesianPoint_swigregister
  Geom2d_CartesianPoint_swigregister(Geom2d_CartesianPoint)
  
  class Handle_Geom2d_CartesianPoint(Handle_Geom2d_Point):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_CartesianPoint_swiginit(self,_Geom2d.new_Handle_Geom2d_CartesianPoint(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_CartesianPoint_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_CartesianPoint
  Handle_Geom2d_CartesianPoint.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_CartesianPoint_Nullify,None,Handle_Geom2d_CartesianPoint)
  Handle_Geom2d_CartesianPoint.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_CartesianPoint_IsNull,None,Handle_Geom2d_CartesianPoint)
  Handle_Geom2d_CartesianPoint.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_CartesianPoint_GetObject,None,Handle_Geom2d_CartesianPoint)
  Handle_Geom2d_CartesianPoint_swigregister = _Geom2d.Handle_Geom2d_CartesianPoint_swigregister
  Handle_Geom2d_CartesianPoint_swigregister(Handle_Geom2d_CartesianPoint)
  
  def Handle_Geom2d_CartesianPoint_DownCast(*args):
    return _Geom2d.Handle_Geom2d_CartesianPoint_DownCast(*args)
  Handle_Geom2d_CartesianPoint_DownCast = _Geom2d.Handle_Geom2d_CartesianPoint_DownCast
  
  class Geom2d_Conic(Geom2d_Curve):
      thisown = _swig_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 SetAxis(self, *args):
          """
          * Modifies this conic, redefining its local coordinate system partially, by assigning P as its origin
  
          :param A:
          :type A: gp_Ax22d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Conic_SetAxis(self, *args)
  
      def SetXAxis(self, *args):
          """
          :param A:
          :type A: gp_Ax2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Conic_SetXAxis(self, *args)
  
      def SetYAxis(self, *args):
          """
          * Assigns the origin and unit vector of axis A to the origin of the local coordinate system of this conic and either: - its 'X Direction', or - its 'Y Direction'. The other unit vector of the local coordinate system of this conic is recomputed normal to A, without changing the orientation of the local coordinate system (right-handed or left-handed).
  
          :param A:
          :type A: gp_Ax2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Conic_SetYAxis(self, *args)
  
      def SetLocation(self, *args):
          """
          * Modifies this conic, redefining its local coordinate system fully, by assigning A as this coordinate system.
  
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Conic_SetLocation(self, *args)
  
      def XAxis(self, *args):
          """
          * Returns the 'XAxis' of the conic. This axis defines the origin of parametrization of the conic. This axis and the 'Yaxis' define the local coordinate system of the conic. -C++: return const&
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Conic_XAxis(self, *args)
  
      def YAxis(self, *args):
          """
          * Returns the 'YAxis' of the conic. The 'YAxis' is perpendicular to the 'Xaxis'.
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Conic_YAxis(self, *args)
  
      def Eccentricity(self, *args):
          """
          * returns the eccentricity value of the conic e. e = 0 for a circle 0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius) e > 1 for a hyperbola e = 1 for a parabola
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Conic_Eccentricity(self, *args)
  
      def Location(self, *args):
          """
          * Returns the location point of the conic. For the circle, the ellipse and the hyperbola it is the center of the conic. For the parabola it is the vertex of the parabola.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Conic_Location(self, *args)
  
      def Position(self, *args):
          """
          * Returns the local coordinates system of the conic.
  
          :rtype: gp_Ax22d
  
          """
          return _Geom2d.Geom2d_Conic_Position(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Conic(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Conic
  Geom2d_Conic.SetAxis = new_instancemethod(_Geom2d.Geom2d_Conic_SetAxis,None,Geom2d_Conic)
  Geom2d_Conic.SetXAxis = new_instancemethod(_Geom2d.Geom2d_Conic_SetXAxis,None,Geom2d_Conic)
  Geom2d_Conic.SetYAxis = new_instancemethod(_Geom2d.Geom2d_Conic_SetYAxis,None,Geom2d_Conic)
  Geom2d_Conic.SetLocation = new_instancemethod(_Geom2d.Geom2d_Conic_SetLocation,None,Geom2d_Conic)
  Geom2d_Conic.XAxis = new_instancemethod(_Geom2d.Geom2d_Conic_XAxis,None,Geom2d_Conic)
  Geom2d_Conic.YAxis = new_instancemethod(_Geom2d.Geom2d_Conic_YAxis,None,Geom2d_Conic)
  Geom2d_Conic.Eccentricity = new_instancemethod(_Geom2d.Geom2d_Conic_Eccentricity,None,Geom2d_Conic)
  Geom2d_Conic.Location = new_instancemethod(_Geom2d.Geom2d_Conic_Location,None,Geom2d_Conic)
  Geom2d_Conic.Position = new_instancemethod(_Geom2d.Geom2d_Conic_Position,None,Geom2d_Conic)
  Geom2d_Conic_swigregister = _Geom2d.Geom2d_Conic_swigregister
  Geom2d_Conic_swigregister(Geom2d_Conic)
  
  class Handle_Geom2d_Conic(Handle_Geom2d_Curve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Conic_swiginit(self,_Geom2d.new_Handle_Geom2d_Conic(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Conic_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Conic
  Handle_Geom2d_Conic.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Conic_Nullify,None,Handle_Geom2d_Conic)
  Handle_Geom2d_Conic.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Conic_IsNull,None,Handle_Geom2d_Conic)
  Handle_Geom2d_Conic.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Conic_GetObject,None,Handle_Geom2d_Conic)
  Handle_Geom2d_Conic_swigregister = _Geom2d.Handle_Geom2d_Conic_swigregister
  Handle_Geom2d_Conic_swigregister(Handle_Geom2d_Conic)
  
  def Handle_Geom2d_Conic_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Conic_DownCast(*args)
  Handle_Geom2d_Conic_DownCast = _Geom2d.Handle_Geom2d_Conic_DownCast
  
  class Geom2d_Direction(Geom2d_Vector):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates a unit vector with it 2 cartesian coordinates. Raised if Sqrt( X*X + Y*Y) <= Resolution from gp.
  
          :param X:
          :type X: float
          :param Y:
          :type Y: float
          :rtype: None
  
          * Creates a persistent copy of <self>.
  
          :param V:
          :type V: gp_Dir2d
          :rtype: None
  
          """
          _Geom2d.Geom2d_Direction_swiginit(self,_Geom2d.new_Geom2d_Direction(*args))
      def SetCoord(self, *args):
          """
          * Assigns the coordinates X and Y to this unit vector, then normalizes it. Exceptions Standard_ConstructionError if Sqrt(X*X + Y*Y) is less than or equal to gp::Resolution().
  
          :param X:
          :type X: float
          :param Y:
          :type Y: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Direction_SetCoord(self, *args)
  
      def SetDir2d(self, *args):
          """
          * Converts the gp_Dir2d unit vector V into this unit vector.
  
          :param V:
          :type V: gp_Dir2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Direction_SetDir2d(self, *args)
  
      def SetX(self, *args):
          """
          * Assigns a value to the X coordinate of this unit vector, then normalizes it. Exceptions Standard_ConstructionError if the value assigned causes the magnitude of the vector to become less than or equal to gp::Resolution().
  
          :param X:
          :type X: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Direction_SetX(self, *args)
  
      def SetY(self, *args):
          """
          * Assigns a value to the Y coordinate of this unit vector, then normalizes it. Exceptions Standard_ConstructionError if the value assigned causes the magnitude of the vector to become less than or equal to gp::Resolution().
  
          :param Y:
          :type Y: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Direction_SetY(self, *args)
  
      def Dir2d(self, *args):
          """
          * Converts this unit vector into a gp_Dir2d unit vector.
  
          :rtype: gp_Dir2d
  
          """
          return _Geom2d.Geom2d_Direction_Dir2d(self, *args)
  
      def __xor__(self, *args):
          """
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Direction___xor__(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Direction(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Direction
  Geom2d_Direction.SetCoord = new_instancemethod(_Geom2d.Geom2d_Direction_SetCoord,None,Geom2d_Direction)
  Geom2d_Direction.SetDir2d = new_instancemethod(_Geom2d.Geom2d_Direction_SetDir2d,None,Geom2d_Direction)
  Geom2d_Direction.SetX = new_instancemethod(_Geom2d.Geom2d_Direction_SetX,None,Geom2d_Direction)
  Geom2d_Direction.SetY = new_instancemethod(_Geom2d.Geom2d_Direction_SetY,None,Geom2d_Direction)
  Geom2d_Direction.Dir2d = new_instancemethod(_Geom2d.Geom2d_Direction_Dir2d,None,Geom2d_Direction)
  Geom2d_Direction.__xor__ = new_instancemethod(_Geom2d.Geom2d_Direction___xor__,None,Geom2d_Direction)
  Geom2d_Direction_swigregister = _Geom2d.Geom2d_Direction_swigregister
  Geom2d_Direction_swigregister(Geom2d_Direction)
  
  class Handle_Geom2d_Direction(Handle_Geom2d_Vector):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Direction_swiginit(self,_Geom2d.new_Handle_Geom2d_Direction(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Direction_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Direction
  Handle_Geom2d_Direction.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Direction_Nullify,None,Handle_Geom2d_Direction)
  Handle_Geom2d_Direction.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Direction_IsNull,None,Handle_Geom2d_Direction)
  Handle_Geom2d_Direction.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Direction_GetObject,None,Handle_Geom2d_Direction)
  Handle_Geom2d_Direction_swigregister = _Geom2d.Handle_Geom2d_Direction_swigregister
  Handle_Geom2d_Direction_swigregister(Handle_Geom2d_Direction)
  
  def Handle_Geom2d_Direction_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Direction_DownCast(*args)
  Handle_Geom2d_Direction_DownCast = _Geom2d.Handle_Geom2d_Direction_DownCast
  
  class Geom2d_Line(Geom2d_Curve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates a line located in 2D space with the axis placement A. The Location of A is the origin of the line.
  
          :param A:
          :type A: gp_Ax2d
          :rtype: None
  
          * Creates a line by conversion of the gp_Lin2d line L.
  
          :param L:
          :type L: gp_Lin2d
          :rtype: None
  
          * Constructs a line passing through point P and parallel to vector V (P and V are, respectively, the origin and the unit vector of the positioning axis of the line).
  
          :param P:
          :type P: gp_Pnt2d
          :param V:
          :type V: gp_Dir2d
          :rtype: None
  
          """
          _Geom2d.Geom2d_Line_swiginit(self,_Geom2d.new_Geom2d_Line(*args))
      def SetLin2d(self, *args):
          """
          * Set <self> so that <self> has the same geometric properties as L.
  
          :param L:
          :type L: gp_Lin2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Line_SetLin2d(self, *args)
  
      def SetDirection(self, *args):
          """
          * changes the direction of the line.
  
          :param V:
          :type V: gp_Dir2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Line_SetDirection(self, *args)
  
      def Direction(self, *args):
          """
          * changes the direction of the line.
  
          :rtype: gp_Dir2d
  
          """
          return _Geom2d.Geom2d_Line_Direction(self, *args)
  
      def SetLocation(self, *args):
          """
          * Changes the 'Location' point (origin) of the line.
  
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Line_SetLocation(self, *args)
  
      def Location(self, *args):
          """
          * Changes the 'Location' point (origin) of the line.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Line_Location(self, *args)
  
      def SetPosition(self, *args):
          """
          * Changes the 'Location' and a the 'Direction' of <self>.
  
          :param A:
          :type A: gp_Ax2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Line_SetPosition(self, *args)
  
      def Position(self, *args):
          """
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Line_Position(self, *args)
  
      def Lin2d(self, *args):
          """
          * Returns non persistent line from gp with the same geometric properties as <self>
  
          :rtype: gp_Lin2d
  
          """
          return _Geom2d.Geom2d_Line_Lin2d(self, *args)
  
      def Distance(self, *args):
          """
          * Computes the distance between <self> and the point P.
  
          :param P:
          :type P: gp_Pnt2d
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Line_Distance(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Line(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Line
  Geom2d_Line.SetLin2d = new_instancemethod(_Geom2d.Geom2d_Line_SetLin2d,None,Geom2d_Line)
  Geom2d_Line.SetDirection = new_instancemethod(_Geom2d.Geom2d_Line_SetDirection,None,Geom2d_Line)
  Geom2d_Line.Direction = new_instancemethod(_Geom2d.Geom2d_Line_Direction,None,Geom2d_Line)
  Geom2d_Line.SetLocation = new_instancemethod(_Geom2d.Geom2d_Line_SetLocation,None,Geom2d_Line)
  Geom2d_Line.Location = new_instancemethod(_Geom2d.Geom2d_Line_Location,None,Geom2d_Line)
  Geom2d_Line.SetPosition = new_instancemethod(_Geom2d.Geom2d_Line_SetPosition,None,Geom2d_Line)
  Geom2d_Line.Position = new_instancemethod(_Geom2d.Geom2d_Line_Position,None,Geom2d_Line)
  Geom2d_Line.Lin2d = new_instancemethod(_Geom2d.Geom2d_Line_Lin2d,None,Geom2d_Line)
  Geom2d_Line.Distance = new_instancemethod(_Geom2d.Geom2d_Line_Distance,None,Geom2d_Line)
  Geom2d_Line_swigregister = _Geom2d.Geom2d_Line_swigregister
  Geom2d_Line_swigregister(Geom2d_Line)
  
  class Handle_Geom2d_Line(Handle_Geom2d_Curve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Line_swiginit(self,_Geom2d.new_Handle_Geom2d_Line(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Line_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Line
  Handle_Geom2d_Line.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Line_Nullify,None,Handle_Geom2d_Line)
  Handle_Geom2d_Line.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Line_IsNull,None,Handle_Geom2d_Line)
  Handle_Geom2d_Line.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Line_GetObject,None,Handle_Geom2d_Line)
  Handle_Geom2d_Line_swigregister = _Geom2d.Handle_Geom2d_Line_swigregister
  Handle_Geom2d_Line_swigregister(Handle_Geom2d_Line)
  
  def Handle_Geom2d_Line_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Line_DownCast(*args)
  Handle_Geom2d_Line_DownCast = _Geom2d.Handle_Geom2d_Line_DownCast
  
  class Geom2d_OffsetCurve(Geom2d_Curve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Constructs a curve offset from the basis curve C, where Offset is the distance between the offset curve and the basis curve at any point. A point on the offset curve is built by measuring the offset value along a normal vector at a point on C. This normal vector is obtained by rotating the vector tangential to C at 90 degrees in the anti-trigonometric sense. The side of C on which the offset value is measured is indicated by this normal vector if Offset is positive, or in the inverse sense if Offset is negative. Warnings : In this package the entities are not shared. The OffsetCurve is built with a copy of the curve C. So when C is modified the OffsetCurve is not modified Warning! ConstructionError raised if the basis curve C is not at least C1. No check is done to know if ||V^Z|| != 0.0 at any point.
  
          :param C:
          :type C: Handle_Geom2d_Curve &
          :param Offset:
          :type Offset: float
          :rtype: None
  
          """
          _Geom2d.Geom2d_OffsetCurve_swiginit(self,_Geom2d.new_Geom2d_OffsetCurve(*args))
      def SetBasisCurve(self, *args):
          """
          * Changes this offset curve by assigning C as the basis curve from which it is built. Exceptions Standard_ConstructionError if the curve C is not at least 'C1' continuous.
  
          :param C:
          :type C: Handle_Geom2d_Curve &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_OffsetCurve_SetBasisCurve(self, *args)
  
      def SetOffsetValue(self, *args):
          """
          * Changes this offset curve by assigning D as the offset value.
  
          :param D:
          :type D: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_OffsetCurve_SetOffsetValue(self, *args)
  
      def BasisCurve(self, *args):
          """
          * Returns the basis curve of this offset curve. The basis curve can be an offset curve.
  
          :rtype: Handle_Geom2d_Curve
  
          """
          return _Geom2d.Geom2d_OffsetCurve_BasisCurve(self, *args)
  
      def Value(self, *args):
          """
          * Warning! this should not be called if the basis curve is not at least C1. Nevertheless if used on portion where the curve is C1, it is OK
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param Pbasis:
          :type Pbasis: gp_Pnt2d
          :param V1basis:
          :type V1basis: gp_Vec2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_OffsetCurve_Value(self, *args)
  
      def D1(self, *args):
          """
          * Warning! this should not be called if the continuity of the basis curve is not C2. Nevertheless, it's OK to use it on portion where the curve is C2
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :rtype: None
  
          * Warning! this should not be called if the continuity of the basis curve is not C1. Nevertheless, it's OK to use it on portion where the curve is C1
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param Pbasis:
          :type Pbasis: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :param V1basis:
          :type V1basis: gp_Vec2d
          :param V2basis:
          :type V2basis: gp_Vec2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_OffsetCurve_D1(self, *args)
  
      def D2(self, *args):
          """
          * Warning! This should not be called if the continuity of the basis curve is not C3. Nevertheless, it's OK to use it on portion where the curve is C3
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :param V2:
          :type V2: gp_Vec2d
          :rtype: None
  
          * Warning! this should not be called if the continuity of the basis curve is not C3. Nevertheless, it's OK to use it on portion where the curve is C3
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param Pbasis:
          :type Pbasis: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :param V2:
          :type V2: gp_Vec2d
          :param V1basis:
          :type V1basis: gp_Vec2d
          :param V2basis:
          :type V2basis: gp_Vec2d
          :param V3basis:
          :type V3basis: gp_Vec2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_OffsetCurve_D2(self, *args)
  
      def Offset(self, *args):
          """
          * Returns the offset value of this offset curve.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_OffsetCurve_Offset(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_OffsetCurve(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_OffsetCurve
  Geom2d_OffsetCurve.SetBasisCurve = new_instancemethod(_Geom2d.Geom2d_OffsetCurve_SetBasisCurve,None,Geom2d_OffsetCurve)
  Geom2d_OffsetCurve.SetOffsetValue = new_instancemethod(_Geom2d.Geom2d_OffsetCurve_SetOffsetValue,None,Geom2d_OffsetCurve)
  Geom2d_OffsetCurve.BasisCurve = new_instancemethod(_Geom2d.Geom2d_OffsetCurve_BasisCurve,None,Geom2d_OffsetCurve)
  Geom2d_OffsetCurve.Value = new_instancemethod(_Geom2d.Geom2d_OffsetCurve_Value,None,Geom2d_OffsetCurve)
  Geom2d_OffsetCurve.D1 = new_instancemethod(_Geom2d.Geom2d_OffsetCurve_D1,None,Geom2d_OffsetCurve)
  Geom2d_OffsetCurve.D2 = new_instancemethod(_Geom2d.Geom2d_OffsetCurve_D2,None,Geom2d_OffsetCurve)
  Geom2d_OffsetCurve.Offset = new_instancemethod(_Geom2d.Geom2d_OffsetCurve_Offset,None,Geom2d_OffsetCurve)
  Geom2d_OffsetCurve_swigregister = _Geom2d.Geom2d_OffsetCurve_swigregister
  Geom2d_OffsetCurve_swigregister(Geom2d_OffsetCurve)
  
  class Handle_Geom2d_OffsetCurve(Handle_Geom2d_Curve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_OffsetCurve_swiginit(self,_Geom2d.new_Handle_Geom2d_OffsetCurve(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_OffsetCurve_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_OffsetCurve
  Handle_Geom2d_OffsetCurve.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_OffsetCurve_Nullify,None,Handle_Geom2d_OffsetCurve)
  Handle_Geom2d_OffsetCurve.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_OffsetCurve_IsNull,None,Handle_Geom2d_OffsetCurve)
  Handle_Geom2d_OffsetCurve.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_OffsetCurve_GetObject,None,Handle_Geom2d_OffsetCurve)
  Handle_Geom2d_OffsetCurve_swigregister = _Geom2d.Handle_Geom2d_OffsetCurve_swigregister
  Handle_Geom2d_OffsetCurve_swigregister(Handle_Geom2d_OffsetCurve)
  
  def Handle_Geom2d_OffsetCurve_DownCast(*args):
    return _Geom2d.Handle_Geom2d_OffsetCurve_DownCast(*args)
  Handle_Geom2d_OffsetCurve_DownCast = _Geom2d.Handle_Geom2d_OffsetCurve_DownCast
  
  class Geom2d_VectorWithMagnitude(Geom2d_Vector):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates a persistent copy of V.
  
          :param V:
          :type V: gp_Vec2d
          :rtype: None
  
          * Creates a vector with two cartesian coordinates.
  
          :param X:
          :type X: float
          :param Y:
          :type Y: float
          :rtype: None
  
          * Creates a vector from the point P1 to the point P2. The magnitude of the vector is the distance between P1 and P2
  
          :param P1:
          :type P1: gp_Pnt2d
          :param P2:
          :type P2: gp_Pnt2d
          :rtype: None
  
          """
          _Geom2d.Geom2d_VectorWithMagnitude_swiginit(self,_Geom2d.new_Geom2d_VectorWithMagnitude(*args))
      def SetCoord(self, *args):
          """
          * Set <self> to X, Y coordinates.
  
          :param X:
          :type X: float
          :param Y:
          :type Y: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_SetCoord(self, *args)
  
      def SetVec2d(self, *args):
          """
          :param V:
          :type V: gp_Vec2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_SetVec2d(self, *args)
  
      def SetX(self, *args):
          """
          * Changes the X coordinate of <self>.
  
          :param X:
          :type X: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_SetX(self, *args)
  
      def SetY(self, *args):
          """
          * Changes the Y coordinate of <self>
  
          :param Y:
          :type Y: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_SetY(self, *args)
  
      def Add(self, *args):
          """
          * Adds the Vector Other to <self>.
  
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Add(self, *args)
  
      def __iadd__(self, *args):
          """
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude___iadd__(self, *args)
  
      def Added(self, *args):
          """
          * Adds the vector Other to <self>.
  
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: Handle_Geom2d_VectorWithMagnitude
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Added(self, *args)
  
      def __add__(self, *args):
          """
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: Handle_Geom2d_VectorWithMagnitude
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude___add__(self, *args)
  
      def __xor__(self, *args):
          """
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: float
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude___xor__(self, *args)
  
      def Divide(self, *args):
          """
          * Divides <self> by a scalar.
  
          :param Scalar:
          :type Scalar: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Divide(self, *args)
  
      def __idiv__(self, *args):
          """
          :param Scalar:
          :type Scalar: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude___idiv__(self, *args)
  
      def Divided(self, *args):
          """
          * Divides <self> by a scalar. A new vector is returned.
  
          :param Scalar:
          :type Scalar: float
          :rtype: Handle_Geom2d_VectorWithMagnitude
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Divided(self, *args)
  
      def __div__(self, *args):
          """
          :param Scalar:
          :type Scalar: float
          :rtype: Handle_Geom2d_VectorWithMagnitude
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude___div__(self, *args)
  
      def Multiplied(self, *args):
          """
          * Computes the product of the vector <self> by a scalar. A new vector is returned. -C++: alias operator * Collision with same operator defined for the class Vector!
  
          :param Scalar:
          :type Scalar: float
          :rtype: Handle_Geom2d_VectorWithMagnitude
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Multiplied(self, *args)
  
      def Multiply(self, *args):
          """
          * Computes the product of the vector <self> by a scalar.
  
          :param Scalar:
          :type Scalar: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Multiply(self, *args)
  
      def __imul__(self, *args):
          """
          :param Scalar:
          :type Scalar: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude___imul__(self, *args)
  
      def Normalize(self, *args):
          """
          * Normalizes <self>. Raised if the magnitude of the vector is lower or equal to Resolution from package gp.
  
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Normalize(self, *args)
  
      def Normalized(self, *args):
          """
          * Returns a copy of <self> Normalized. Raised if the magnitude of the vector is lower or equal to Resolution from package gp.
  
          :rtype: Handle_Geom2d_VectorWithMagnitude
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Normalized(self, *args)
  
      def Subtract(self, *args):
          """
          * Subtracts the Vector Other to <self>.
  
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Subtract(self, *args)
  
      def __isub__(self, *args):
          """
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude___isub__(self, *args)
  
      def Subtracted(self, *args):
          """
          * Subtracts the vector Other to <self>. A new vector is returned.
  
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: Handle_Geom2d_VectorWithMagnitude
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude_Subtracted(self, *args)
  
      def __sub__(self, *args):
          """
          :param Other:
          :type Other: Handle_Geom2d_Vector &
          :rtype: Handle_Geom2d_VectorWithMagnitude
  
          """
          return _Geom2d.Geom2d_VectorWithMagnitude___sub__(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_VectorWithMagnitude(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_VectorWithMagnitude
  Geom2d_VectorWithMagnitude.SetCoord = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_SetCoord,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.SetVec2d = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_SetVec2d,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.SetX = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_SetX,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.SetY = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_SetY,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Add = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Add,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.__iadd__ = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude___iadd__,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Added = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Added,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.__add__ = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude___add__,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.__xor__ = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude___xor__,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Divide = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Divide,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.__idiv__ = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude___idiv__,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Divided = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Divided,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.__div__ = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude___div__,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Multiplied = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Multiplied,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Multiply = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Multiply,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.__imul__ = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude___imul__,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Normalize = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Normalize,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Normalized = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Normalized,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Subtract = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Subtract,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.__isub__ = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude___isub__,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.Subtracted = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude_Subtracted,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude.__sub__ = new_instancemethod(_Geom2d.Geom2d_VectorWithMagnitude___sub__,None,Geom2d_VectorWithMagnitude)
  Geom2d_VectorWithMagnitude_swigregister = _Geom2d.Geom2d_VectorWithMagnitude_swigregister
  Geom2d_VectorWithMagnitude_swigregister(Geom2d_VectorWithMagnitude)
  
  class Handle_Geom2d_VectorWithMagnitude(Handle_Geom2d_Vector):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_VectorWithMagnitude_swiginit(self,_Geom2d.new_Handle_Geom2d_VectorWithMagnitude(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_VectorWithMagnitude_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_VectorWithMagnitude
  Handle_Geom2d_VectorWithMagnitude.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_VectorWithMagnitude_Nullify,None,Handle_Geom2d_VectorWithMagnitude)
  Handle_Geom2d_VectorWithMagnitude.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_VectorWithMagnitude_IsNull,None,Handle_Geom2d_VectorWithMagnitude)
  Handle_Geom2d_VectorWithMagnitude.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_VectorWithMagnitude_GetObject,None,Handle_Geom2d_VectorWithMagnitude)
  Handle_Geom2d_VectorWithMagnitude_swigregister = _Geom2d.Handle_Geom2d_VectorWithMagnitude_swigregister
  Handle_Geom2d_VectorWithMagnitude_swigregister(Handle_Geom2d_VectorWithMagnitude)
  
  def Handle_Geom2d_VectorWithMagnitude_DownCast(*args):
    return _Geom2d.Handle_Geom2d_VectorWithMagnitude_DownCast(*args)
  Handle_Geom2d_VectorWithMagnitude_DownCast = _Geom2d.Handle_Geom2d_VectorWithMagnitude_DownCast
  
  class Geom2d_BSplineCurve(Geom2d_BoundedCurve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates a non-rational B_spline curve on the  basis <Knots, Multiplicities> of degree <Degree>. The following conditions must be verified. 0 < Degree <= MaxDegree. Knots.Length() == Mults.Length() >= 2 Knots(i) < Knots(i+1) (Knots are increasing) 1 <= Mults(i) <= Degree On a non periodic curve the first and last multiplicities may be Degree+1 (this is even recommanded if you want the curve to start and finish on the first and last pole). On a periodic curve the first and the last multicities must be the same. on non-periodic curves Poles.Length() == Sum(Mults(i)) - Degree - 1 >= 2 on periodic curves Poles.Length() == Sum(Mults(i)) except the first or last
  
          :param Poles:
          :type Poles: TColgp_Array1OfPnt2d
          :param Knots:
          :type Knots: TColStd_Array1OfReal &
          :param Multiplicities:
          :type Multiplicities: TColStd_Array1OfInteger &
          :param Degree:
          :type Degree: int
          :param Periodic: default value is Standard_False
          :type Periodic: bool
          :rtype: None
  
          * Creates a rational B_spline curve on the basis  <Knots, Multiplicities> of degree <Degree>. The following conditions must be verified. 0 < Degree <= MaxDegree. Knots.Length() == Mults.Length() >= 2 Knots(i) < Knots(i+1) (Knots are increasing) 1 <= Mults(i) <= Degree On a non periodic curve the first and last multiplicities may be Degree+1 (this is even recommanded if you want the curve to start and finish on the first and last pole). On a periodic curve the first and the last multicities must be the same. on non-periodic curves Poles.Length() == Sum(Mults(i)) - Degree - 1 >= 2 on periodic curves Poles.Length() == Sum(Mults(i)) except the first or last
  
          :param Poles:
          :type Poles: TColgp_Array1OfPnt2d
          :param Weights:
          :type Weights: TColStd_Array1OfReal &
          :param Knots:
          :type Knots: TColStd_Array1OfReal &
          :param Multiplicities:
          :type Multiplicities: TColStd_Array1OfInteger &
          :param Degree:
          :type Degree: int
          :param Periodic: default value is Standard_False
          :type Periodic: bool
          :rtype: None
  
          """
          _Geom2d.Geom2d_BSplineCurve_swiginit(self,_Geom2d.new_Geom2d_BSplineCurve(*args))
      def IncreaseDegree(self, *args):
          """
          * Increases the degree of this BSpline curve to Degree. As a result, the poles, weights and multiplicities tables are modified; the knots table is not changed. Nothing is done if Degree is less than or equal to the current degree. Exceptions Standard_ConstructionError if Degree is greater than Geom2d_BSplineCurve::MaxDegree().
  
          :param Degree:
          :type Degree: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_IncreaseDegree(self, *args)
  
      def IncreaseMultiplicity(self, *args):
          """
          * //!Increases the multiplicity of the knot <Index> to  <M>. If <M> is lower or equal to the current  multiplicity nothing is done. If <M> is higher than  the degree the degree is used. If <Index> is not in [FirstUKnotIndex, LastUKnotIndex]
  
          :param Index:
          :type Index: int
          :param M:
          :type M: int
          :rtype: None
  
          * //!Increases the multiplicities of the knots in  [I1,I2] to <M>. For each knot if <M> is lower or equal to the  current multiplicity nothing is done. If <M> is  higher than the degree the degree is used. As a result, the poles and weights tables of this curve are modified. Warning It is forbidden to modify the multiplicity of the first or last knot of a non-periodic curve. Be careful as Geom2d does not protect against this. Exceptions Standard_OutOfRange if either Index, I1 or I2 is outside the bounds of the knots table.
  
          :param I1:
          :type I1: int
          :param I2:
          :type I2: int
          :param M:
          :type M: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_IncreaseMultiplicity(self, *args)
  
      def IncrementMultiplicity(self, *args):
          """
          * Increases by M the multiplicity of the knots of indexes I1 to I2 in the knots table of this BSpline curve. For each knot, the resulting multiplicity is limited to the degree of this curve. If M is negative, nothing is done. As a result, the poles and weights tables of this BSpline curve are modified. Warning It is forbidden to modify the multiplicity of the first or last knot of a non-periodic curve. Be careful as Geom2d does not protect against this. Exceptions Standard_OutOfRange if I1 or I2 is outside the bounds of the knots table.
  
          :param I1:
          :type I1: int
          :param I2:
          :type I2: int
          :param M:
          :type M: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_IncrementMultiplicity(self, *args)
  
      def InsertKnot(self, *args):
          """
          * Inserts a knot value in the sequence of knots. If <U> is an existing knot the multiplicity is increased by <M>.  If U is not on the parameter range nothing is done.  If the multiplicity is negative or null nothing is done. The new multiplicity is limited to the degree.  The tolerance criterion for knots equality is the max of Epsilon(U) and ParametricTolerance. Warning - If U is less than the first parameter or greater than the last parameter of this BSpline curve, nothing is done. - If M is negative or null, nothing is done. - The multiplicity of a knot is limited to the degree of this BSpline curve.
  
          :param U:
          :type U: float
          :param M: default value is 1
          :type M: int
          :param ParametricTolerance: default value is 0.0
          :type ParametricTolerance: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_InsertKnot(self, *args)
  
      def InsertKnots(self, *args):
          """
          * Inserts the values of the array Knots, with the respective multiplicities given by the array Mults, into the knots table of this BSpline curve. If a value of the array Knots is an existing knot, its multiplicity is: - increased by M, if Add is true, or - increased to M, if Add is false (default value). The tolerance criterion used for knot equality is the larger of the values ParametricTolerance (defaulted to 0.) and Standard_Real::Epsilon(U), where U is the current knot value. Warning - For a value of the array Knots which is less than the first parameter or greater than the last parameter of this BSpline curve, nothing is done. - For a value of the array Mults which is negative or null, nothing is done. - The multiplicity of a knot is limited to the degree of this BSpline curve.
  
          :param Knots:
          :type Knots: TColStd_Array1OfReal &
          :param Mults:
          :type Mults: TColStd_Array1OfInteger &
          :param ParametricTolerance: default value is 0.0
          :type ParametricTolerance: float
          :param Add: default value is Standard_False
          :type Add: bool
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_InsertKnots(self, *args)
  
      def RemoveKnot(self, *args):
          """
          * Reduces the multiplicity of the knot of index Index to M. If M is equal to 0, the knot is removed. With a modification of this type, the array of poles is also modified. Two different algorithms are systematically used to compute the new poles of the curve. If, for each pole, the distance between the pole calculated using the first algorithm and the same pole calculated using the second algorithm, is less than Tolerance, this ensures that the curve is not modified by more than Tolerance. Under these conditions, true is returned; otherwise, false is returned. A low tolerance is used to prevent modification of the curve. A high tolerance is used to 'smooth' the curve. Exceptions Standard_OutOfRange if Index is outside the bounds of the knots table.
  
          :param Index:
          :type Index: int
          :param M:
          :type M: int
          :param Tolerance:
          :type Tolerance: float
          :rtype: bool
  
          """
          return _Geom2d.Geom2d_BSplineCurve_RemoveKnot(self, *args)
  
      def InsertPoleAfter(self, *args):
          """
          * The new pole is inserted after the pole of range Index. If the curve was non rational it can become rational. Raised if the B-spline is NonUniform or PiecewiseBezier or if Weight <= 0.0 Raised if Index is not in the range [1, Number of Poles]
  
          :param Index:
          :type Index: int
          :param P:
          :type P: gp_Pnt2d
          :param Weight: default value is 1.0
          :type Weight: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_InsertPoleAfter(self, *args)
  
      def InsertPoleBefore(self, *args):
          """
          * The new pole is inserted before the pole of range Index. If the curve was non rational it can become rational. Raised if the B-spline is NonUniform or PiecewiseBezier or if Weight <= 0.0 Raised if Index is not in the range [1, Number of Poles]
  
          :param Index:
          :type Index: int
          :param P:
          :type P: gp_Pnt2d
          :param Weight: default value is 1.0
          :type Weight: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_InsertPoleBefore(self, *args)
  
      def RemovePole(self, *args):
          """
          * Removes the pole of range Index If the curve was rational it can become non rational. Raised if the B-spline is NonUniform or PiecewiseBezier. Raised if the number of poles of the B-spline curve is lower or equal to 2 before removing. Raised if Index is not in the range [1, Number of Poles]
  
          :param Index:
          :type Index: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_RemovePole(self, *args)
  
      def Segment(self, *args):
          """
          * Modifies this BSpline curve by segmenting it between U1 and U2. Either of these values can be outside the bounds of the curve, but U2 must be greater than U1. All data structure tables of this BSpline curve are modified, but the knots located between U1 and U2 are retained. The degree of the curve is not modified. Warnings : Even if <self> is not closed it can become closed after the segmentation for example if U1 or U2 are out of the bounds of the curve <self> or if the curve makes loop. After the segmentation the length of a curve can be null. - The segmentation of a periodic curve over an interval corresponding to its period generates a non-periodic curve with equivalent geometry. Exceptions Standard_DomainError if U2 is less than U1. raises if U2 < U1.
  
          :param U1:
          :type U1: float
          :param U2:
          :type U2: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Segment(self, *args)
  
      def SetKnots(self, *args):
          """
          * Modifies this BSpline curve by assigning the array K to its knots table. The multiplicity of the knots is not modified. Exceptions Standard_ConstructionError if the values in the array K are not in ascending order. Standard_OutOfRange if the bounds of the array K are not respectively 1 and the number of knots of this BSpline curve.
  
          :param K:
          :type K: TColStd_Array1OfReal &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_SetKnots(self, *args)
  
      def SetKnot(self, *args):
          """
          * Modifies this BSpline curve by assigning the value K to the knot of index Index in the knots table. This is a relatively local modification because K must be such that: Knots(Index - 1) < K < Knots(Index + 1) Exceptions Standard_ConstructionError if: - K is not such that: Knots(Index - 1) < K < Knots(Index + 1) - M is greater than the degree of this BSpline curve or lower than the previous multiplicity of knot of index Index in the knots table. Standard_OutOfRange if Index is outside the bounds of the knots table.
  
          :param Index:
          :type Index: int
          :param K:
          :type K: float
          :rtype: None
  
          * Modifies this BSpline curve by assigning the value K to the knot of index Index in the knots table. This is a relatively local modification because K must be such that: Knots(Index - 1) < K < Knots(Index + 1) The second syntax allows you also to increase the multiplicity of the knot to M (but it is not possible to decrease the multiplicity of the knot with this function). Exceptions Standard_ConstructionError if: - K is not such that: Knots(Index - 1) < K < Knots(Index + 1) - M is greater than the degree of this BSpline curve or lower than the previous multiplicity of knot of index Index in the knots table. Standard_OutOfRange if Index is outside the bounds of the knots table.
  
          :param Index:
          :type Index: int
          :param K:
          :type K: float
          :param M:
          :type M: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_SetKnot(self, *args)
  
      def PeriodicNormalization(self, *args):
          """
          * Computes the parameter normalized within the 'first' period of this BSpline curve, if it is periodic: the returned value is in the range Param1 and Param1 + Period, where: - Param1 is the 'first parameter', and - Period the period of this BSpline curve. Note: If this curve is not periodic, U is not modified.
  
          :param U:
          :type U: float &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_PeriodicNormalization(self, *args)
  
      def SetPeriodic(self, *args):
          """
          * //!Changes this BSpline curve into a periodic curve. To become periodic, the curve must first be closed. Next, the knot sequence must be periodic. For this, FirstUKnotIndex and LastUKnotIndex are used to compute I1 and I2, the indexes in the knots array of the knots corresponding to the first and last parameters of this BSpline curve. The period is therefore Knot(I2) - Knot(I1). Consequently, the knots and poles tables are modified. Exceptions Standard_ConstructionError if this BSpline curve is not closed.
  
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_SetPeriodic(self, *args)
  
      def SetOrigin(self, *args):
          """
          * Assigns the knot of index Index in the knots table as the origin of this periodic BSpline curve. As a consequence, the knots and poles tables are modified. Exceptions Standard_NoSuchObject if this curve is not periodic. Standard_DomainError if Index is outside the bounds of the knots table.
  
          :param Index:
          :type Index: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_SetOrigin(self, *args)
  
      def SetNotPeriodic(self, *args):
          """
          * Changes this BSpline curve into a non-periodic curve. If this curve is already non-periodic, it is not modified. Note that the poles and knots tables are modified. Warning If this curve is periodic, as the multiplicity of the first and last knots is not modified, and is not equal to Degree + 1, where Degree is the degree of this BSpline curve, the start and end points of the curve are not its first and last poles.
  
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_SetNotPeriodic(self, *args)
  
      def SetPole(self, *args):
          """
          * Modifies this BSpline curve by assigning P to the pole of index Index in the poles table. Exceptions Standard_OutOfRange if Index is outside the bounds of the poles table. Standard_ConstructionError if Weight is negative or null.
  
          :param Index:
          :type Index: int
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          * Modifies this BSpline curve by assigning P to the pole of index Index in the poles table. The second syntax also allows you to modify the weight of the modified pole, which becomes Weight. In this case, if this BSpline curve is non-rational, it can become rational and vice versa. Exceptions Standard_OutOfRange if Index is outside the bounds of the poles table. Standard_ConstructionError if Weight is negative or null.
  
          :param Index:
          :type Index: int
          :param P:
          :type P: gp_Pnt2d
          :param Weight:
          :type Weight: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_SetPole(self, *args)
  
      def SetWeight(self, *args):
          """
          * Assigns the weight Weight to the pole of index Index of the poles table. If the curve was non rational it can become rational. If the curve was rational it can become non rational. Exceptions Standard_OutOfRange if Index is outside the bounds of the poles table. Standard_ConstructionError if Weight is negative or null.
  
          :param Index:
          :type Index: int
          :param Weight:
          :type Weight: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_SetWeight(self, *args)
  
      def MovePoint(self, *args):
          """
          * Moves the point of parameter U of this BSpline curve to P. Index1 and Index2 are the indexes in the table of poles of this BSpline curve of the first and last poles designated to be moved. FirstModifiedPole and LastModifiedPole are the indexes of the first and last poles, which are effectively modified. In the event of incompatibility between Index1, Index2 and the value U: - no change is made to this BSpline curve, and - the FirstModifiedPole and LastModifiedPole are returned null. Exceptions Standard_OutOfRange if: - Index1 is greater than or equal to Index2, or - Index1 or Index2 is less than 1 or greater than the number of poles of this BSpline curve.
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param Index1:
          :type Index1: int
          :param Index2:
          :type Index2: int
          :param FirstModifiedPole:
          :type FirstModifiedPole: int &
          :param LastModifiedPole:
          :type LastModifiedPole: int &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_MovePoint(self, *args)
  
      def MovePointAndTangent(self, *args):
          """
          * Move a point with parameter U to P. and makes it tangent at U be Tangent. StartingCondition = -1 means first can move EndingCondition = -1 means last point can move StartingCondition = 0 means the first point cannot move EndingCondition = 0 means the last point cannot move StartingCondition = 1 means the first point and tangent cannot move EndingCondition = 1 means the last point and tangent cannot move and so forth ErrorStatus != 0 means that there are not enought degree of freedom with the constrain to deform the curve accordingly
  
          :param U:
          :type U: float
          :param P:
          :type P: gp_Pnt2d
          :param Tangent:
          :type Tangent: gp_Vec2d
          :param Tolerance:
          :type Tolerance: float
          :param StartingCondition:
          :type StartingCondition: int
          :param EndingCondition:
          :type EndingCondition: int
          :param ErrorStatus:
          :type ErrorStatus: int &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_MovePointAndTangent(self, *args)
  
      def IsRational(self, *args):
          """
          * Returns True if the weights are not identical. The tolerance criterion is Epsilon of the class Real.
  
          :rtype: bool
  
          """
          return _Geom2d.Geom2d_BSplineCurve_IsRational(self, *args)
  
      def Degree(self, *args):
          """
          * Returns the degree of this BSpline curve. In this class the degree of the basis normalized B-spline functions cannot be greater than 'MaxDegree' Computation of value and derivatives
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Degree(self, *args)
  
      def LocalValue(self, *args):
          """
          * Raised if FromK1 = ToK2. Raised if FromK1 and ToK2 are not in the range [FirstUKnotIndex, LastUKnotIndex].
  
          :param U:
          :type U: float
          :param FromK1:
          :type FromK1: int
          :param ToK2:
          :type ToK2: int
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_BSplineCurve_LocalValue(self, *args)
  
      def LocalD0(self, *args):
          """
          :param U:
          :type U: float
          :param FromK1:
          :type FromK1: int
          :param ToK2:
          :type ToK2: int
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_LocalD0(self, *args)
  
      def LocalD1(self, *args):
          """
          * Raised if the local continuity of the curve is not C1 between the knot K1 and the knot K2. Raised if FromK1 = ToK2. Raised if FromK1 and ToK2 are not in the range [FirstUKnotIndex, LastUKnotIndex].
  
          :param U:
          :type U: float
          :param FromK1:
          :type FromK1: int
          :param ToK2:
          :type ToK2: int
          :param P:
          :type P: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_LocalD1(self, *args)
  
      def LocalD2(self, *args):
          """
          * Raised if the local continuity of the curve is not C2 between the knot K1 and the knot K2. Raised if FromK1 = ToK2. Raised if FromK1 and ToK2 are not in the range [FirstUKnotIndex, LastUKnotIndex].
  
          :param U:
          :type U: float
          :param FromK1:
          :type FromK1: int
          :param ToK2:
          :type ToK2: int
          :param P:
          :type P: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :param V2:
          :type V2: gp_Vec2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_LocalD2(self, *args)
  
      def LocalD3(self, *args):
          """
          * Raised if the local continuity of the curve is not C3 between the knot K1 and the knot K2. Raised if FromK1 = ToK2. Raised if FromK1 and ToK2 are not in the range [FirstUKnotIndex, LastUKnotIndex].
  
          :param U:
          :type U: float
          :param FromK1:
          :type FromK1: int
          :param ToK2:
          :type ToK2: int
          :param P:
          :type P: gp_Pnt2d
          :param V1:
          :type V1: gp_Vec2d
          :param V2:
          :type V2: gp_Vec2d
          :param V3:
          :type V3: gp_Vec2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_LocalD3(self, *args)
  
      def LocalDN(self, *args):
          """
          * Raised if the local continuity of the curve is not CN between the knot K1 and the knot K2. Raised if FromK1 = ToK2. Raised if N < 1. Raises if FromK1 and ToK2 are not in the range [FirstUKnotIndex, LastUKnotIndex].
  
          :param U:
          :type U: float
          :param FromK1:
          :type FromK1: int
          :param ToK2:
          :type ToK2: int
          :param N:
          :type N: int
          :rtype: gp_Vec2d
  
          """
          return _Geom2d.Geom2d_BSplineCurve_LocalDN(self, *args)
  
      def FirstUKnotIndex(self, *args):
          """
          * For a B-spline curve the first parameter (which gives the start point of the curve) is a knot value but if the multiplicity of the first knot index is lower than Degree + 1 it is not the first knot of the curve. This method computes the index of the knot corresponding to the first parameter.
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BSplineCurve_FirstUKnotIndex(self, *args)
  
      def Knot(self, *args):
          """
          * Returns the knot of range Index. When there is a knot with a multiplicity greater than 1 the knot is not repeated. The method Multiplicity can be used to get the multiplicity of the Knot. Raised if Index < 1 or Index > NbKnots
  
          :param Index:
          :type Index: int
          :rtype: float
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Knot(self, *args)
  
      def Knots(self, *args):
          """
          * returns the knot values of the B-spline curve; Raised if the length of K is not equal to the number of knots.
  
          :param K:
          :type K: TColStd_Array1OfReal &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Knots(self, *args)
  
      def KnotSequence(self, *args):
          """
          * Returns the knots sequence. In this sequence the knots with a multiplicity greater than 1 are repeated. Example : K = {k1, k1, k1, k2, k3, k3, k4, k4, k4} Raised if the length of K is not equal to NbPoles + Degree + 1
  
          :param K:
          :type K: TColStd_Array1OfReal &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_KnotSequence(self, *args)
  
      def KnotDistribution(self, *args):
          """
          * Returns NonUniform or Uniform or QuasiUniform or PiecewiseBezier. If all the knots differ by a positive constant from the preceding knot the BSpline Curve can be : - Uniform if all the knots are of multiplicity 1, - QuasiUniform if all the knots are of multiplicity 1 except for the first and last knot which are of multiplicity Degree + 1, - PiecewiseBezier if the first and last knots have multiplicity Degree + 1 and if interior knots have multiplicity Degree A piecewise Bezier with only two knots is a BezierCurve. else the curve is non uniform. The tolerance criterion is Epsilon from class Real.
  
          :rtype: GeomAbs_BSplKnotDistribution
  
          """
          return _Geom2d.Geom2d_BSplineCurve_KnotDistribution(self, *args)
  
      def LastUKnotIndex(self, *args):
          """
          * For a BSpline curve the last parameter (which gives the end point of the curve) is a knot value but if the multiplicity of the last knot index is lower than Degree + 1 it is not the last knot of the curve. This method computes the index of the knot corresponding to the last parameter.
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BSplineCurve_LastUKnotIndex(self, *args)
  
      def LocateU(self, *args):
          """
          * Locates the parametric value U in the sequence of knots. If 'WithKnotRepetition' is True we consider the knot's representation with repetition of multiple knot value, otherwise we consider the knot's representation with no repetition of multiple knot values. Knots (I1) <= U <= Knots (I2) . if I1 = I2 U is a knot value (the tolerance criterion ParametricTolerance is used). . if I1 < 1 => U < Knots (1) - Abs(ParametricTolerance) . if I2 > NbKnots => U > Knots (NbKnots) + Abs(ParametricTolerance)
  
          :param U:
          :type U: float
          :param ParametricTolerance:
          :type ParametricTolerance: float
          :param I1:
          :type I1: int &
          :param I2:
          :type I2: int &
          :param WithKnotRepetition: default value is Standard_False
          :type WithKnotRepetition: bool
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_LocateU(self, *args)
  
      def Multiplicity(self, *args):
          """
          * Returns the multiplicity of the knots of range Index. Raised if Index < 1 or Index > NbKnots
  
          :param Index:
          :type Index: int
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Multiplicity(self, *args)
  
      def Multiplicities(self, *args):
          """
          * Returns the multiplicity of the knots of the curve. Raised if the length of M is not equal to NbKnots.
  
          :param M:
          :type M: TColStd_Array1OfInteger &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Multiplicities(self, *args)
  
      def NbKnots(self, *args):
          """
          * Returns the number of knots. This method returns the number of knot without repetition of multiple knots.
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BSplineCurve_NbKnots(self, *args)
  
      def NbPoles(self, *args):
          """
          * Returns the number of poles
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BSplineCurve_NbPoles(self, *args)
  
      def Pole(self, *args):
          """
          * Returns the pole of range Index. Raised if Index < 1 or Index > NbPoles.
  
          :param Index:
          :type Index: int
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Pole(self, *args)
  
      def Poles(self, *args):
          """
          * Returns the poles of the B-spline curve; Raised if the length of P is not equal to the number of poles.
  
          :param P:
          :type P: TColgp_Array1OfPnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Poles(self, *args)
  
      def Weight(self, *args):
          """
          * Returns the weight of the pole of range Index . Raised if Index < 1 or Index > NbPoles.
  
          :param Index:
          :type Index: int
          :rtype: float
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Weight(self, *args)
  
      def Weights(self, *args):
          """
          * Returns the weights of the B-spline curve; Raised if the length of W is not equal to NbPoles.
  
          :param W:
          :type W: TColStd_Array1OfReal &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Weights(self, *args)
  
      def MaxDegree(*args):
          """
          * Returns the value of the maximum degree of the normalized B-spline basis functions in this package.
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BSplineCurve_MaxDegree(*args)
  
      MaxDegree = staticmethod(MaxDegree)
      def Resolution(self, *args):
          """
          * Computes for this BSpline curve the parametric tolerance UTolerance for a given tolerance Tolerance3D (relative to dimensions in the plane). If f(t) is the equation of this BSpline curve, UTolerance ensures that: | t1 - t0| < Utolerance ===> |f(t1) - f(t0)| < ToleranceUV
  
          :param ToleranceUV:
          :type ToleranceUV: float
          :param UTolerance:
          :type UTolerance: float &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BSplineCurve_Resolution(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_BSplineCurve(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_BSplineCurve
  Geom2d_BSplineCurve.IncreaseDegree = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_IncreaseDegree,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.IncreaseMultiplicity = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_IncreaseMultiplicity,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.IncrementMultiplicity = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_IncrementMultiplicity,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.InsertKnot = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_InsertKnot,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.InsertKnots = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_InsertKnots,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.RemoveKnot = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_RemoveKnot,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.InsertPoleAfter = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_InsertPoleAfter,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.InsertPoleBefore = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_InsertPoleBefore,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.RemovePole = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_RemovePole,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Segment = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Segment,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.SetKnots = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_SetKnots,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.SetKnot = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_SetKnot,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.PeriodicNormalization = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_PeriodicNormalization,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.SetPeriodic = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_SetPeriodic,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.SetOrigin = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_SetOrigin,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.SetNotPeriodic = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_SetNotPeriodic,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.SetPole = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_SetPole,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.SetWeight = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_SetWeight,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.MovePoint = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_MovePoint,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.MovePointAndTangent = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_MovePointAndTangent,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.IsRational = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_IsRational,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Degree = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Degree,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.LocalValue = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_LocalValue,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.LocalD0 = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_LocalD0,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.LocalD1 = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_LocalD1,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.LocalD2 = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_LocalD2,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.LocalD3 = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_LocalD3,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.LocalDN = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_LocalDN,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.FirstUKnotIndex = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_FirstUKnotIndex,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Knot = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Knot,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Knots = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Knots,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.KnotSequence = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_KnotSequence,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.KnotDistribution = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_KnotDistribution,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.LastUKnotIndex = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_LastUKnotIndex,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.LocateU = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_LocateU,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Multiplicity = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Multiplicity,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Multiplicities = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Multiplicities,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.NbKnots = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_NbKnots,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.NbPoles = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_NbPoles,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Pole = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Pole,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Poles = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Poles,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Weight = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Weight,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Weights = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Weights,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve.Resolution = new_instancemethod(_Geom2d.Geom2d_BSplineCurve_Resolution,None,Geom2d_BSplineCurve)
  Geom2d_BSplineCurve_swigregister = _Geom2d.Geom2d_BSplineCurve_swigregister
  Geom2d_BSplineCurve_swigregister(Geom2d_BSplineCurve)
  
  def Geom2d_BSplineCurve_MaxDegree(*args):
    """
      * Returns the value of the maximum degree of the normalized B-spline basis functions in this package.
  
      :rtype: int
  
      """
    return _Geom2d.Geom2d_BSplineCurve_MaxDegree(*args)
  
  class Handle_Geom2d_BSplineCurve(Handle_Geom2d_BoundedCurve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_BSplineCurve_swiginit(self,_Geom2d.new_Handle_Geom2d_BSplineCurve(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_BSplineCurve_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_BSplineCurve
  Handle_Geom2d_BSplineCurve.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_BSplineCurve_Nullify,None,Handle_Geom2d_BSplineCurve)
  Handle_Geom2d_BSplineCurve.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_BSplineCurve_IsNull,None,Handle_Geom2d_BSplineCurve)
  Handle_Geom2d_BSplineCurve.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_BSplineCurve_GetObject,None,Handle_Geom2d_BSplineCurve)
  Handle_Geom2d_BSplineCurve_swigregister = _Geom2d.Handle_Geom2d_BSplineCurve_swigregister
  Handle_Geom2d_BSplineCurve_swigregister(Handle_Geom2d_BSplineCurve)
  
  def Handle_Geom2d_BSplineCurve_DownCast(*args):
    return _Geom2d.Handle_Geom2d_BSplineCurve_DownCast(*args)
  Handle_Geom2d_BSplineCurve_DownCast = _Geom2d.Handle_Geom2d_BSplineCurve_DownCast
  
  class Geom2d_BezierCurve(Geom2d_BoundedCurve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates a non rational Bezier curve with a set of poles : CurvePoles. The weights are defaulted to all being 1. Raises ConstructionError if the number of poles is greater than MaxDegree + 1 or lower than 2.
  
          :param CurvePoles:
          :type CurvePoles: TColgp_Array1OfPnt2d
          :rtype: None
  
          * Creates a rational Bezier curve with the set of poles CurvePoles and the set of weights PoleWeights . If all the weights are identical the curve is considered as non rational. Raises ConstructionError if the number of poles is greater than MaxDegree + 1 or lower than 2 or CurvePoles and CurveWeights have not the same length or one weight value is lower or equal to Resolution from package gp.
  
          :param CurvePoles:
          :type CurvePoles: TColgp_Array1OfPnt2d
          :param PoleWeights:
          :type PoleWeights: TColStd_Array1OfReal &
          :rtype: None
  
          """
          _Geom2d.Geom2d_BezierCurve_swiginit(self,_Geom2d.new_Geom2d_BezierCurve(*args))
      def Increase(self, *args):
          """
          * Increases the degree of a bezier curve. Degree is the new degree of <self>. raises ConstructionError if Degree is greater than MaxDegree or lower than 2 or lower than the initial degree of <self>.
  
          :param Degree:
          :type Degree: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_Increase(self, *args)
  
      def InsertPoleAfter(self, *args):
          """
          * Inserts a pole with its weight in the set of poles after the pole of range Index. If the curve was non rational it can become rational if all the weights are not identical. Raised if Index is not in the range [0, NbPoles] Raised if the resulting number of poles is greater than MaxDegree + 1.
  
          :param Index:
          :type Index: int
          :param P:
          :type P: gp_Pnt2d
          :param Weight: default value is 1.0
          :type Weight: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_InsertPoleAfter(self, *args)
  
      def InsertPoleBefore(self, *args):
          """
          * Inserts a pole with its weight in the set of poles after the pole of range Index. If the curve was non rational it can become rational if all the weights are not identical. Raised if Index is not in the range [1, NbPoles+1] Raised if the resulting number of poles is greater than MaxDegree + 1.
  
          :param Index:
          :type Index: int
          :param P:
          :type P: gp_Pnt2d
          :param Weight: default value is 1.0
          :type Weight: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_InsertPoleBefore(self, *args)
  
      def RemovePole(self, *args):
          """
          * Removes the pole of range Index. If the curve was rational it can become non rational. Raised if Index is not in the range [1, NbPoles]
  
          :param Index:
          :type Index: int
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_RemovePole(self, *args)
  
      def Segment(self, *args):
          """
          * Segments the curve between U1 and U2 which can be out of the bounds of the curve. The curve is oriented from U1 to U2. The control points are modified, the first and the last point are not the same but the parametrization range is [0, 1] else it could not be a Bezier curve. Warnings : Even if <self> is not closed it can become closed after the segmentation for example if U1 or U2 are out of the bounds of the curve <self> or if the curve makes loop. After the segmentation the length of a curve can be null.
  
          :param U1:
          :type U1: float
          :param U2:
          :type U2: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_Segment(self, *args)
  
      def SetPole(self, *args):
          """
          * Substitutes the pole of range index with P. If the curve <self> is rational the weight of range Index is not modified. raiseD if Index is not in the range [1, NbPoles]
  
          :param Index:
          :type Index: int
          :param P:
          :type P: gp_Pnt2d
          :rtype: None
  
          * Substitutes the pole and the weights of range Index. If the curve <self> is not rational it can become rational if all the weights are not identical. If the curve was rational it can become non rational if all the weights are identical. Raised if Index is not in the range [1, NbPoles] Raised if Weight <= Resolution from package gp
  
          :param Index:
          :type Index: int
          :param P:
          :type P: gp_Pnt2d
          :param Weight:
          :type Weight: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_SetPole(self, *args)
  
      def SetWeight(self, *args):
          """
          * Changes the weight of the pole of range Index. If the curve <self> is not rational it can become rational if all the weights are not identical. If the curve was rational it can become non rational if all the weights are identical. Raised if Index is not in the range [1, NbPoles] Raised if Weight <= Resolution from package gp
  
          :param Index:
          :type Index: int
          :param Weight:
          :type Weight: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_SetWeight(self, *args)
  
      def IsRational(self, *args):
          """
          * Returns false if all the weights are identical. The tolerance criterion is Resolution from package gp.
  
          :rtype: bool
  
          """
          return _Geom2d.Geom2d_BezierCurve_IsRational(self, *args)
  
      def Degree(self, *args):
          """
          * Returns the polynomial degree of the curve. It is the number of poles less one. In this package the Degree of a Bezier curve cannot be greater than 'MaxDegree'.
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BezierCurve_Degree(self, *args)
  
      def NbPoles(self, *args):
          """
          * Returns the number of poles for this Bezier curve.
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BezierCurve_NbPoles(self, *args)
  
      def Pole(self, *args):
          """
          * Returns the pole of range Index. Raised if Index is not in the range [1, NbPoles]
  
          :param Index:
          :type Index: int
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_BezierCurve_Pole(self, *args)
  
      def Poles(self, *args):
          """
          * Returns all the poles of the curve. Raised if the length of P is not equal to the number of poles.
  
          :param P:
          :type P: TColgp_Array1OfPnt2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_Poles(self, *args)
  
      def Weight(self, *args):
          """
          * Returns the weight of range Index. Raised if Index is not in the range [1, NbPoles]
  
          :param Index:
          :type Index: int
          :rtype: float
  
          """
          return _Geom2d.Geom2d_BezierCurve_Weight(self, *args)
  
      def Weights(self, *args):
          """
          * Returns all the weights of the curve. Raised if the length of W is not equal to the number of poles.
  
          :param W:
          :type W: TColStd_Array1OfReal &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_Weights(self, *args)
  
      def MaxDegree(*args):
          """
          * Returns the value of the maximum polynomial degree of a BezierCurve. This value is 25.
  
          :rtype: int
  
          """
          return _Geom2d.Geom2d_BezierCurve_MaxDegree(*args)
  
      MaxDegree = staticmethod(MaxDegree)
      def Resolution(self, *args):
          """
          * Computes for this Bezier curve the parametric tolerance UTolerance for a given tolerance Tolerance3D (relative to dimensions in the plane). If f(t) is the equation of this Bezier curve, UTolerance ensures that | t1 - t0| < Utolerance ===> |f(t1) - f(t0)| < ToleranceUV
  
          :param ToleranceUV:
          :type ToleranceUV: float
          :param UTolerance:
          :type UTolerance: float &
          :rtype: None
  
          """
          return _Geom2d.Geom2d_BezierCurve_Resolution(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_BezierCurve(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_BezierCurve
  Geom2d_BezierCurve.Increase = new_instancemethod(_Geom2d.Geom2d_BezierCurve_Increase,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.InsertPoleAfter = new_instancemethod(_Geom2d.Geom2d_BezierCurve_InsertPoleAfter,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.InsertPoleBefore = new_instancemethod(_Geom2d.Geom2d_BezierCurve_InsertPoleBefore,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.RemovePole = new_instancemethod(_Geom2d.Geom2d_BezierCurve_RemovePole,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.Segment = new_instancemethod(_Geom2d.Geom2d_BezierCurve_Segment,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.SetPole = new_instancemethod(_Geom2d.Geom2d_BezierCurve_SetPole,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.SetWeight = new_instancemethod(_Geom2d.Geom2d_BezierCurve_SetWeight,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.IsRational = new_instancemethod(_Geom2d.Geom2d_BezierCurve_IsRational,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.Degree = new_instancemethod(_Geom2d.Geom2d_BezierCurve_Degree,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.NbPoles = new_instancemethod(_Geom2d.Geom2d_BezierCurve_NbPoles,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.Pole = new_instancemethod(_Geom2d.Geom2d_BezierCurve_Pole,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.Poles = new_instancemethod(_Geom2d.Geom2d_BezierCurve_Poles,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.Weight = new_instancemethod(_Geom2d.Geom2d_BezierCurve_Weight,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.Weights = new_instancemethod(_Geom2d.Geom2d_BezierCurve_Weights,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve.Resolution = new_instancemethod(_Geom2d.Geom2d_BezierCurve_Resolution,None,Geom2d_BezierCurve)
  Geom2d_BezierCurve_swigregister = _Geom2d.Geom2d_BezierCurve_swigregister
  Geom2d_BezierCurve_swigregister(Geom2d_BezierCurve)
  
  def Geom2d_BezierCurve_MaxDegree(*args):
    """
      * Returns the value of the maximum polynomial degree of a BezierCurve. This value is 25.
  
      :rtype: int
  
      """
    return _Geom2d.Geom2d_BezierCurve_MaxDegree(*args)
  
  class Handle_Geom2d_BezierCurve(Handle_Geom2d_BoundedCurve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_BezierCurve_swiginit(self,_Geom2d.new_Handle_Geom2d_BezierCurve(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_BezierCurve_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_BezierCurve
  Handle_Geom2d_BezierCurve.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_BezierCurve_Nullify,None,Handle_Geom2d_BezierCurve)
  Handle_Geom2d_BezierCurve.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_BezierCurve_IsNull,None,Handle_Geom2d_BezierCurve)
  Handle_Geom2d_BezierCurve.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_BezierCurve_GetObject,None,Handle_Geom2d_BezierCurve)
  Handle_Geom2d_BezierCurve_swigregister = _Geom2d.Handle_Geom2d_BezierCurve_swigregister
  Handle_Geom2d_BezierCurve_swigregister(Handle_Geom2d_BezierCurve)
  
  def Handle_Geom2d_BezierCurve_DownCast(*args):
    return _Geom2d.Handle_Geom2d_BezierCurve_DownCast(*args)
  Handle_Geom2d_BezierCurve_DownCast = _Geom2d.Handle_Geom2d_BezierCurve_DownCast
  
  class Geom2d_Circle(Geom2d_Conic):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Constructs a circle by conversion of the gp_Circ2d circle C.
  
          :param C:
          :type C: gp_Circ2d
          :rtype: None
  
          * Constructs a circle of radius Radius, whose center is the origin of axis A; A is the 'X Axis' of the local coordinate system of the circle; this coordinate system is direct if Sense is true (default value) or indirect if Sense is false. Note: It is possible to create a circle where Radius is equal to 0.0. Exceptions Standard_ConstructionError if Radius is negative.
  
          :param A:
          :type A: gp_Ax2d
          :param Radius:
          :type Radius: float
          :param Sense: default value is Standard_True
          :type Sense: bool
          :rtype: None
  
          * Constructs a circle of radius Radius, where the coordinate system A locates the circle and defines its orientation in the plane such that: - the center of the circle is the origin of A, - the orientation (direct or indirect) of A gives the orientation of the circle.
  
          :param A:
          :type A: gp_Ax22d
          :param Radius:
          :type Radius: float
          :rtype: None
  
          """
          _Geom2d.Geom2d_Circle_swiginit(self,_Geom2d.new_Geom2d_Circle(*args))
      def SetCirc2d(self, *args):
          """
          * Converts the gp_Circ2d circle C into this circle.
  
          :param C:
          :type C: gp_Circ2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Circle_SetCirc2d(self, *args)
  
      def SetRadius(self, *args):
          """
          :param R:
          :type R: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Circle_SetRadius(self, *args)
  
      def Circ2d(self, *args):
          """
          * Returns the non persistent circle from gp with the same geometric properties as <self>.
  
          :rtype: gp_Circ2d
  
          """
          return _Geom2d.Geom2d_Circle_Circ2d(self, *args)
  
      def Radius(self, *args):
          """
          * Returns the radius of this circle.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Circle_Radius(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Circle(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Circle
  Geom2d_Circle.SetCirc2d = new_instancemethod(_Geom2d.Geom2d_Circle_SetCirc2d,None,Geom2d_Circle)
  Geom2d_Circle.SetRadius = new_instancemethod(_Geom2d.Geom2d_Circle_SetRadius,None,Geom2d_Circle)
  Geom2d_Circle.Circ2d = new_instancemethod(_Geom2d.Geom2d_Circle_Circ2d,None,Geom2d_Circle)
  Geom2d_Circle.Radius = new_instancemethod(_Geom2d.Geom2d_Circle_Radius,None,Geom2d_Circle)
  Geom2d_Circle_swigregister = _Geom2d.Geom2d_Circle_swigregister
  Geom2d_Circle_swigregister(Geom2d_Circle)
  
  class Handle_Geom2d_Circle(Handle_Geom2d_Conic):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Circle_swiginit(self,_Geom2d.new_Handle_Geom2d_Circle(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Circle_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Circle
  Handle_Geom2d_Circle.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Circle_Nullify,None,Handle_Geom2d_Circle)
  Handle_Geom2d_Circle.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Circle_IsNull,None,Handle_Geom2d_Circle)
  Handle_Geom2d_Circle.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Circle_GetObject,None,Handle_Geom2d_Circle)
  Handle_Geom2d_Circle_swigregister = _Geom2d.Handle_Geom2d_Circle_swigregister
  Handle_Geom2d_Circle_swigregister(Handle_Geom2d_Circle)
  
  def Handle_Geom2d_Circle_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Circle_DownCast(*args)
  Handle_Geom2d_Circle_DownCast = _Geom2d.Handle_Geom2d_Circle_DownCast
  
  class Geom2d_Ellipse(Geom2d_Conic):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates an ellipse by conversion of the gp_Elips2d ellipse E.
  
          :param E:
          :type E: gp_Elips2d
          :rtype: None
  
          * Creates an ellipse defined by its major and minor radii, MajorRadius and MinorRadius, and positioned in the plane by its major axis MajorAxis; the center of the ellipse is the origin of MajorAxis and the unit vector of MajorAxis is the 'X Direction' of the local coordinate system of the ellipse; this coordinate system is direct if Sense is true (default value) or indirect if Sense is false. Warnings : It is not forbidden to create an ellipse with MajorRadius = MinorRadius. Exceptions Standard_ConstructionError if: - MajorRadius is less than MinorRadius, or - MinorRadius is less than 0.
  
          :param MajorAxis:
          :type MajorAxis: gp_Ax2d
          :param MajorRadius:
          :type MajorRadius: float
          :param MinorRadius:
          :type MinorRadius: float
          :param Sense: default value is Standard_True
          :type Sense: bool
          :rtype: None
  
          * Creates an ellipse defined by its major and minor radii, MajorRadius and MinorRadius, where the coordinate system Axis locates the ellipse and defines its orientation in the plane such that: - the center of the ellipse is the origin of Axis, - the 'X Direction' of Axis defines the major axis of the ellipse, - the 'Y Direction' of Axis defines the minor axis of the ellipse, - the orientation of Axis (direct or indirect) gives the orientation of the ellipse. Warnings : It is not forbidden to create an ellipse with MajorRadius = MinorRadius. Exceptions Standard_ConstructionError if: - MajorRadius is less than MinorRadius, or - MinorRadius is less than 0.
  
          :param Axis:
          :type Axis: gp_Ax22d
          :param MajorRadius:
          :type MajorRadius: float
          :param MinorRadius:
          :type MinorRadius: float
          :rtype: None
  
          """
          _Geom2d.Geom2d_Ellipse_swiginit(self,_Geom2d.new_Geom2d_Ellipse(*args))
      def SetElips2d(self, *args):
          """
          * Converts the gp_Elips2d ellipse E into this ellipse.
  
          :param E:
          :type E: gp_Elips2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Ellipse_SetElips2d(self, *args)
  
      def SetMajorRadius(self, *args):
          """
          * Assigns a value to the major radius of this ellipse. Exceptions Standard_ConstructionError if: - the major radius of this ellipse becomes less than the minor radius, or - MinorRadius is less than 0.
  
          :param MajorRadius:
          :type MajorRadius: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Ellipse_SetMajorRadius(self, *args)
  
      def SetMinorRadius(self, *args):
          """
          * Assigns a value to the minor radius of this ellipse. Exceptions Standard_ConstructionError if: - the major radius of this ellipse becomes less than the minor radius, or - MinorRadius is less than 0.
  
          :param MinorRadius:
          :type MinorRadius: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Ellipse_SetMinorRadius(self, *args)
  
      def Elips2d(self, *args):
          """
          * Converts this ellipse into a gp_Elips2d ellipse.
  
          :rtype: gp_Elips2d
  
          """
          return _Geom2d.Geom2d_Ellipse_Elips2d(self, *args)
  
      def Directrix1(self, *args):
          """
          * Computes the directrices of this ellipse. This directrix is the line normal to the XAxis of the ellipse in the local plane (Z = 0) at a distance d = MajorRadius / e from the center of the ellipse, where e is the eccentricity of the ellipse. This line is parallel to the 'YAxis'. The intersection point between directrix1 and the 'XAxis' is the 'Location' point of the directrix1. This point is on the positive side of the 'XAxis'. Raises ConstructionError if Eccentricity = 0.0. (The ellipse degenerates into a circle)
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Ellipse_Directrix1(self, *args)
  
      def Directrix2(self, *args):
          """
          * This line is obtained by the symmetrical transformation of 'Directrix1' with respect to the 'YAxis' of the ellipse. Raises ConstructionError if Eccentricity = 0.0. (The ellipse degenerates into a circle).
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Ellipse_Directrix2(self, *args)
  
      def Focal(self, *args):
          """
          * Computes the focal distance. The focal distance is the distance between the center and a focus of the ellipse.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Ellipse_Focal(self, *args)
  
      def Focus1(self, *args):
          """
          * Returns the first focus of the ellipse. This focus is on the positive side of the 'XAxis' of the ellipse.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Ellipse_Focus1(self, *args)
  
      def Focus2(self, *args):
          """
          * Returns the second focus of the ellipse. This focus is on the negative side of the 'XAxis' of the ellipse.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Ellipse_Focus2(self, *args)
  
      def MajorRadius(self, *args):
          """
          * Returns the major radius of this ellipse.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Ellipse_MajorRadius(self, *args)
  
      def MinorRadius(self, *args):
          """
          * Returns the minor radius of this ellipse.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Ellipse_MinorRadius(self, *args)
  
      def Parameter(self, *args):
          """
          * Computes the parameter of this ellipse. This value is given by the formula p = (1 - e * e) * MajorRadius where e is the eccentricity of the ellipse. Returns 0 if MajorRadius = 0
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Ellipse_Parameter(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Ellipse(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Ellipse
  Geom2d_Ellipse.SetElips2d = new_instancemethod(_Geom2d.Geom2d_Ellipse_SetElips2d,None,Geom2d_Ellipse)
  Geom2d_Ellipse.SetMajorRadius = new_instancemethod(_Geom2d.Geom2d_Ellipse_SetMajorRadius,None,Geom2d_Ellipse)
  Geom2d_Ellipse.SetMinorRadius = new_instancemethod(_Geom2d.Geom2d_Ellipse_SetMinorRadius,None,Geom2d_Ellipse)
  Geom2d_Ellipse.Elips2d = new_instancemethod(_Geom2d.Geom2d_Ellipse_Elips2d,None,Geom2d_Ellipse)
  Geom2d_Ellipse.Directrix1 = new_instancemethod(_Geom2d.Geom2d_Ellipse_Directrix1,None,Geom2d_Ellipse)
  Geom2d_Ellipse.Directrix2 = new_instancemethod(_Geom2d.Geom2d_Ellipse_Directrix2,None,Geom2d_Ellipse)
  Geom2d_Ellipse.Focal = new_instancemethod(_Geom2d.Geom2d_Ellipse_Focal,None,Geom2d_Ellipse)
  Geom2d_Ellipse.Focus1 = new_instancemethod(_Geom2d.Geom2d_Ellipse_Focus1,None,Geom2d_Ellipse)
  Geom2d_Ellipse.Focus2 = new_instancemethod(_Geom2d.Geom2d_Ellipse_Focus2,None,Geom2d_Ellipse)
  Geom2d_Ellipse.MajorRadius = new_instancemethod(_Geom2d.Geom2d_Ellipse_MajorRadius,None,Geom2d_Ellipse)
  Geom2d_Ellipse.MinorRadius = new_instancemethod(_Geom2d.Geom2d_Ellipse_MinorRadius,None,Geom2d_Ellipse)
  Geom2d_Ellipse.Parameter = new_instancemethod(_Geom2d.Geom2d_Ellipse_Parameter,None,Geom2d_Ellipse)
  Geom2d_Ellipse_swigregister = _Geom2d.Geom2d_Ellipse_swigregister
  Geom2d_Ellipse_swigregister(Geom2d_Ellipse)
  
  class Handle_Geom2d_Ellipse(Handle_Geom2d_Conic):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Ellipse_swiginit(self,_Geom2d.new_Handle_Geom2d_Ellipse(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Ellipse_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Ellipse
  Handle_Geom2d_Ellipse.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Ellipse_Nullify,None,Handle_Geom2d_Ellipse)
  Handle_Geom2d_Ellipse.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Ellipse_IsNull,None,Handle_Geom2d_Ellipse)
  Handle_Geom2d_Ellipse.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Ellipse_GetObject,None,Handle_Geom2d_Ellipse)
  Handle_Geom2d_Ellipse_swigregister = _Geom2d.Handle_Geom2d_Ellipse_swigregister
  Handle_Geom2d_Ellipse_swigregister(Handle_Geom2d_Ellipse)
  
  def Handle_Geom2d_Ellipse_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Ellipse_DownCast(*args)
  Handle_Geom2d_Ellipse_DownCast = _Geom2d.Handle_Geom2d_Ellipse_DownCast
  
  class Geom2d_Hyperbola(Geom2d_Conic):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates an Hyperbola from a non persistent one from package gp
  
          :param H:
          :type H: gp_Hypr2d
          :rtype: None
  
          * MajorAxis is the 'XAxis' of the hyperbola. The YAxis is in the direct sense if 'Sense' is True; The major radius of the hyperbola is on this 'XAxis' and the minor radius is on the 'YAxis' of the hyperbola. Raised if MajorRadius < 0.0 or if MinorRadius < 0.0
  
          :param MajorAxis:
          :type MajorAxis: gp_Ax2d
          :param MajorRadius:
          :type MajorRadius: float
          :param MinorRadius:
          :type MinorRadius: float
          :param Sense: default value is Standard_True
          :type Sense: bool
          :rtype: None
  
          * The XDirection of 'Axis' is the 'XAxis' of the hyperbola and the YDirection of 'Axis' is the 'YAxis'. The major radius of the hyperbola is on this 'XAxis' and the minor radius is on the 'YAxis' of the hyperbola. Raised if MajorRadius < 0.0 or if MinorRadius < 0.0
  
          :param Axis:
          :type Axis: gp_Ax22d
          :param MajorRadius:
          :type MajorRadius: float
          :param MinorRadius:
          :type MinorRadius: float
          :rtype: None
  
          """
          _Geom2d.Geom2d_Hyperbola_swiginit(self,_Geom2d.new_Geom2d_Hyperbola(*args))
      def SetHypr2d(self, *args):
          """
          * Converts the gp_Hypr2d hyperbola H into this hyperbola.
  
          :param H:
          :type H: gp_Hypr2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Hyperbola_SetHypr2d(self, *args)
  
      def SetMajorRadius(self, *args):
          """
          * Assigns a value to the major or minor radius of this hyperbola. Exceptions Standard_ConstructionError if: - MajorRadius is less than 0.0, - MinorRadius is less than 0.0.
  
          :param MajorRadius:
          :type MajorRadius: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Hyperbola_SetMajorRadius(self, *args)
  
      def SetMinorRadius(self, *args):
          """
          * Assigns a value to the major or minor radius of this hyperbola. Exceptions Standard_ConstructionError if: - MajorRadius is less than 0.0, - MinorRadius is less than 0.0.
  
          :param MinorRadius:
          :type MinorRadius: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Hyperbola_SetMinorRadius(self, *args)
  
      def Hypr2d(self, *args):
          """
          * Converts this hyperbola into a gp_Hypr2d one.
  
          :rtype: gp_Hypr2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_Hypr2d(self, *args)
  
      def Asymptote1(self, *args):
          """
          * In the local coordinate system of the hyperbola the equation of the hyperbola is (X*X)/(A*A) - (Y*Y)/(B*B) = 1.0 and the equation of the first asymptote is Y = (B/A)*X where A is the major radius of the hyperbola and B is the minor radius of the hyperbola. Raised if MajorRadius = 0.0
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_Asymptote1(self, *args)
  
      def Asymptote2(self, *args):
          """
          * In the local coordinate system of the hyperbola the equation of the hyperbola is (X*X)/(A*A) - (Y*Y)/(B*B) = 1.0 and the equation of the first asymptote is Y = -(B/A)*X. where A is the major radius of the hyperbola and B is the minor radius of the hyperbola. raised if MajorRadius = 0.0
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_Asymptote2(self, *args)
  
      def ConjugateBranch1(self, *args):
          """
          * Computes the first conjugate branch relative to this hyperbola. Note: The diagram given under the class purpose indicates where these two branches of hyperbola are positioned in relation to this branch of hyperbola.
  
          :rtype: gp_Hypr2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_ConjugateBranch1(self, *args)
  
      def ConjugateBranch2(self, *args):
          """
          * Computes the second conjugate branch relative to this hyperbola. Note: The diagram given under the class purpose indicates where these two branches of hyperbola are positioned in relation to this branch of hyperbola.
  
          :rtype: gp_Hypr2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_ConjugateBranch2(self, *args)
  
      def Directrix1(self, *args):
          """
          * This directrix is the line normal to the XAxis of the hyperbola in the local plane (Z = 0) at a distance d = MajorRadius / e from the center of the hyperbola, where e is the eccentricity of the hyperbola. This line is parallel to the 'YAxis'. The intersection point between directrix1 and the 'XAxis' is the location point of the directrix1. This point is on the positive side of the 'XAxis'.
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_Directrix1(self, *args)
  
      def Directrix2(self, *args):
          """
          * This line is obtained by the symmetrical transformation of 'Directrix1' with respect to the 'YAxis' of the hyperbola.
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_Directrix2(self, *args)
  
      def Focal(self, *args):
          """
          * Computes the focal distance. It is the distance between the two focus of the hyperbola.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Hyperbola_Focal(self, *args)
  
      def Focus1(self, *args):
          """
          * Returns the first focus of the hyperbola. This focus is on the positive side of the 'XAxis' of the hyperbola.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_Focus1(self, *args)
  
      def Focus2(self, *args):
          """
          * Returns the second focus of the hyperbola. This focus is on the negative side of the 'XAxis' of the hyperbola.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_Focus2(self, *args)
  
      def MajorRadius(self, *args):
          """
          * Returns the major or minor radius of this hyperbola. The major radius is also the distance between the center of the hyperbola and the apex of the main branch (located on the 'X Axis' of the hyperbola).
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Hyperbola_MajorRadius(self, *args)
  
      def MinorRadius(self, *args):
          """
          * Returns the major or minor radius of this hyperbola. The minor radius is also the distance between the center of the hyperbola and the apex of a conjugate branch (located on the 'Y Axis' of the hyperbola).
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Hyperbola_MinorRadius(self, *args)
  
      def OtherBranch(self, *args):
          """
          * Computes the 'other' branch of this hyperbola. This is a symmetrical branch with respect to the center of this hyperbola. Note: The diagram given under the class purpose indicates where the 'other' branch is positioned in relation to this branch of the hyperbola. ^ YAxis | FirstConjugateBranch | Other | Main ---------------------------- C ------------------------------------------&gtXAxis Branch | Branch | | SecondConjugateBranch | Warning The major radius can be less than the minor radius.
  
          :rtype: gp_Hypr2d
  
          """
          return _Geom2d.Geom2d_Hyperbola_OtherBranch(self, *args)
  
      def Parameter(self, *args):
          """
          * Computes the parameter of this hyperbola. The parameter is: p = (e*e - 1) * MajorRadius where e is the eccentricity of this hyperbola and MajorRadius its major radius. Exceptions Standard_DomainError if the major radius of this hyperbola is null.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Hyperbola_Parameter(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Hyperbola(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Hyperbola
  Geom2d_Hyperbola.SetHypr2d = new_instancemethod(_Geom2d.Geom2d_Hyperbola_SetHypr2d,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.SetMajorRadius = new_instancemethod(_Geom2d.Geom2d_Hyperbola_SetMajorRadius,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.SetMinorRadius = new_instancemethod(_Geom2d.Geom2d_Hyperbola_SetMinorRadius,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Hypr2d = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Hypr2d,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Asymptote1 = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Asymptote1,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Asymptote2 = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Asymptote2,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.ConjugateBranch1 = new_instancemethod(_Geom2d.Geom2d_Hyperbola_ConjugateBranch1,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.ConjugateBranch2 = new_instancemethod(_Geom2d.Geom2d_Hyperbola_ConjugateBranch2,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Directrix1 = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Directrix1,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Directrix2 = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Directrix2,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Focal = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Focal,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Focus1 = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Focus1,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Focus2 = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Focus2,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.MajorRadius = new_instancemethod(_Geom2d.Geom2d_Hyperbola_MajorRadius,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.MinorRadius = new_instancemethod(_Geom2d.Geom2d_Hyperbola_MinorRadius,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.OtherBranch = new_instancemethod(_Geom2d.Geom2d_Hyperbola_OtherBranch,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola.Parameter = new_instancemethod(_Geom2d.Geom2d_Hyperbola_Parameter,None,Geom2d_Hyperbola)
  Geom2d_Hyperbola_swigregister = _Geom2d.Geom2d_Hyperbola_swigregister
  Geom2d_Hyperbola_swigregister(Geom2d_Hyperbola)
  
  class Handle_Geom2d_Hyperbola(Handle_Geom2d_Conic):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Hyperbola_swiginit(self,_Geom2d.new_Handle_Geom2d_Hyperbola(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Hyperbola_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Hyperbola
  Handle_Geom2d_Hyperbola.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Hyperbola_Nullify,None,Handle_Geom2d_Hyperbola)
  Handle_Geom2d_Hyperbola.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Hyperbola_IsNull,None,Handle_Geom2d_Hyperbola)
  Handle_Geom2d_Hyperbola.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Hyperbola_GetObject,None,Handle_Geom2d_Hyperbola)
  Handle_Geom2d_Hyperbola_swigregister = _Geom2d.Handle_Geom2d_Hyperbola_swigregister
  Handle_Geom2d_Hyperbola_swigregister(Handle_Geom2d_Hyperbola)
  
  def Handle_Geom2d_Hyperbola_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Hyperbola_DownCast(*args)
  Handle_Geom2d_Hyperbola_DownCast = _Geom2d.Handle_Geom2d_Hyperbola_DownCast
  
  class Geom2d_Parabola(Geom2d_Conic):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates a parabola from a non persistent one.
  
          :param Prb:
          :type Prb: gp_Parab2d
          :rtype: None
  
          * Creates a parabola with its 'MirrorAxis' and it's focal length 'Focal'. MirrorAxis is the axis of symmetry of the curve, it is the 'XAxis'. The 'YAxis' is parallel to the directrix of the parabola and is in the direct sense if Sense is True. The 'Location' point of 'MirrorAxis' is the vertex of the parabola Raised if Focal < 0.0
  
          :param MirrorAxis:
          :type MirrorAxis: gp_Ax2d
          :param Focal:
          :type Focal: float
          :param Sense: default value is Standard_True
          :type Sense: bool
          :rtype: None
  
          * Creates a parabola with its Axis and it's focal length 'Focal'. The XDirection of Axis is the axis of symmetry of the curve, it is the 'XAxis'. The 'YAxis' is parallel to the directrix of the parabola. The 'Location' point of 'Axis' is the vertex of the parabola. Raised if Focal < 0.0
  
          :param Axis:
          :type Axis: gp_Ax22d
          :param Focal:
          :type Focal: float
          :rtype: None
  
          * D is the directrix of the parabola and F the focus point. The symmetry axis 'XAxis' of the parabola is normal to the directrix and pass through the focus point F, but its 'Location' point is the vertex of the parabola. The 'YAxis' of the parabola is parallel to D and its 'Location' point is the vertex of the parabola.
  
          :param D:
          :type D: gp_Ax2d
          :param F:
          :type F: gp_Pnt2d
          :rtype: None
  
          """
          _Geom2d.Geom2d_Parabola_swiginit(self,_Geom2d.new_Geom2d_Parabola(*args))
      def SetFocal(self, *args):
          """
          * Assigns the value Focal to the focal length of this parabola. Exceptions Standard_ConstructionError if Focal is negative.
  
          :param Focal:
          :type Focal: float
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Parabola_SetFocal(self, *args)
  
      def SetParab2d(self, *args):
          """
          * Converts the gp_Parab2d parabola Prb into this parabola.
  
          :param Prb:
          :type Prb: gp_Parab2d
          :rtype: None
  
          """
          return _Geom2d.Geom2d_Parabola_SetParab2d(self, *args)
  
      def Parab2d(self, *args):
          """
          * Returns the non persistent parabola from gp with the same geometric properties as <self>.
  
          :rtype: gp_Parab2d
  
          """
          return _Geom2d.Geom2d_Parabola_Parab2d(self, *args)
  
      def Directrix(self, *args):
          """
          * The directrix is parallel to the 'YAxis' of the parabola. The 'Location' point of the directrix is the intersection point between the directrix and the symmetry axis ('XAxis') of the parabola.
  
          :rtype: gp_Ax2d
  
          """
          return _Geom2d.Geom2d_Parabola_Directrix(self, *args)
  
      def Focus(self, *args):
          """
          * Computes the focus of this parabola The focus is on the positive side of the 'X Axis' of the local coordinate system of the parabola.
  
          :rtype: gp_Pnt2d
  
          """
          return _Geom2d.Geom2d_Parabola_Focus(self, *args)
  
      def Focal(self, *args):
          """
          * Computes the focal length of this parabola. The focal length is the distance between the apex and the focus of the parabola.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Parabola_Focal(self, *args)
  
      def Parameter(self, *args):
          """
          * Computes the parameter of this parabola, which is the distance between its focus and its directrix. This distance is twice the focal length. If P is the parameter of the parabola, the equation of the parabola in its local coordinate system is: Y**2 = 2.*P*X.
  
          :rtype: float
  
          """
          return _Geom2d.Geom2d_Parabola_Parameter(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_Parabola(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_Parabola
  Geom2d_Parabola.SetFocal = new_instancemethod(_Geom2d.Geom2d_Parabola_SetFocal,None,Geom2d_Parabola)
  Geom2d_Parabola.SetParab2d = new_instancemethod(_Geom2d.Geom2d_Parabola_SetParab2d,None,Geom2d_Parabola)
  Geom2d_Parabola.Parab2d = new_instancemethod(_Geom2d.Geom2d_Parabola_Parab2d,None,Geom2d_Parabola)
  Geom2d_Parabola.Directrix = new_instancemethod(_Geom2d.Geom2d_Parabola_Directrix,None,Geom2d_Parabola)
  Geom2d_Parabola.Focus = new_instancemethod(_Geom2d.Geom2d_Parabola_Focus,None,Geom2d_Parabola)
  Geom2d_Parabola.Focal = new_instancemethod(_Geom2d.Geom2d_Parabola_Focal,None,Geom2d_Parabola)
  Geom2d_Parabola.Parameter = new_instancemethod(_Geom2d.Geom2d_Parabola_Parameter,None,Geom2d_Parabola)
  Geom2d_Parabola_swigregister = _Geom2d.Geom2d_Parabola_swigregister
  Geom2d_Parabola_swigregister(Geom2d_Parabola)
  
  class Handle_Geom2d_Parabola(Handle_Geom2d_Conic):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_Parabola_swiginit(self,_Geom2d.new_Handle_Geom2d_Parabola(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_Parabola_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_Parabola
  Handle_Geom2d_Parabola.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_Parabola_Nullify,None,Handle_Geom2d_Parabola)
  Handle_Geom2d_Parabola.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_Parabola_IsNull,None,Handle_Geom2d_Parabola)
  Handle_Geom2d_Parabola.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_Parabola_GetObject,None,Handle_Geom2d_Parabola)
  Handle_Geom2d_Parabola_swigregister = _Geom2d.Handle_Geom2d_Parabola_swigregister
  Handle_Geom2d_Parabola_swigregister(Handle_Geom2d_Parabola)
  
  def Handle_Geom2d_Parabola_DownCast(*args):
    return _Geom2d.Handle_Geom2d_Parabola_DownCast(*args)
  Handle_Geom2d_Parabola_DownCast = _Geom2d.Handle_Geom2d_Parabola_DownCast
  
  class Geom2d_TrimmedCurve(Geom2d_BoundedCurve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          """
          * Creates a trimmed curve from the basis curve C limited between U1 and U2. . U1 can be greater or lower than U2. . The returned curve is oriented from U1 to U2. . If the basis curve C is periodic there is an ambiguity because two parts are available. In this case by default the trimmed curve has the same orientation as the basis curve (Sense = True). If Sense = False then the orientation of the trimmed curve is opposite to the orientation of the basis curve C. If the curve is closed but not periodic it is not possible to keep the part of the curve including the junction point (except if the junction point is at the beginning or at the end of the trimmed curve) because you could lose the fundamental characteristics of the basis curve which are used for example to compute the derivatives of the trimmed curve. So for a closed curve the rules are the same as for a open curve. Warnings : In this package the entities are not shared. The TrimmedCurve is built with a copy of the curve C. So when C is modified the TrimmedCurve is not modified Warnings : If <C> is periodic, parametrics bounds of the TrimmedCurve, can be different to [<U1>;<U2>}, if <U1> or <U2> are not in the principal period. Include : For more explanation see the scheme given with this class. Raises ConstructionError the C is not periodic and U1 or U2 are out of the bounds of C. Raised if U1 = U2.
  
          :param C:
          :type C: Handle_Geom2d_Curve &
          :param U1:
          :type U1: float
          :param U2:
          :type U2: float
          :param Sense: default value is Standard_True
          :type Sense: bool
          :rtype: None
  
          """
          _Geom2d.Geom2d_TrimmedCurve_swiginit(self,_Geom2d.new_Geom2d_TrimmedCurve(*args))
      def SetTrim(self, *args):
          """
          * Changes this trimmed curve, by redefining the parameter values U1 and U2, which limit its basis curve. Note: If the basis curve is periodic, the trimmed curve has the same orientation as the basis curve if Sense is true (default value) or the opposite orientation if Sense is false. Warning If the basis curve is periodic, the bounds of the trimmed curve may be different from U1 and U2 if the parametric origin of the basis curve is within the arc of the trimmed curve. In this case, the modified parameter will be equal to U1 or U2 plus or minus the period. Exceptions Standard_ConstructionError if: - the basis curve is not periodic, and either U1 or U2 are outside the bounds of the basis curve, or - U1 is equal to U2.
  
          :param U1:
          :type U1: float
          :param U2:
          :type U2: float
          :param Sense: default value is Standard_True
          :type Sense: bool
          :rtype: None
  
          """
          return _Geom2d.Geom2d_TrimmedCurve_SetTrim(self, *args)
  
      def BasisCurve(self, *args):
          """
          * Returns the basis curve. Warning This function does not return a constant reference. Consequently, any modification of the returned value directly modifies the trimmed curve.
  
          :rtype: Handle_Geom2d_Curve
  
          """
          return _Geom2d.Geom2d_TrimmedCurve_BasisCurve(self, *args)
  
      def GetHandle(self):
          try:
              return self.thisHandle
          except:
              self.thisHandle = Handle_Geom2d_TrimmedCurve(self)
              self.thisown = False
              return self.thisHandle
  
      __swig_destroy__ = _Geom2d.delete_Geom2d_TrimmedCurve
  Geom2d_TrimmedCurve.SetTrim = new_instancemethod(_Geom2d.Geom2d_TrimmedCurve_SetTrim,None,Geom2d_TrimmedCurve)
  Geom2d_TrimmedCurve.BasisCurve = new_instancemethod(_Geom2d.Geom2d_TrimmedCurve_BasisCurve,None,Geom2d_TrimmedCurve)
  Geom2d_TrimmedCurve_swigregister = _Geom2d.Geom2d_TrimmedCurve_swigregister
  Geom2d_TrimmedCurve_swigregister(Geom2d_TrimmedCurve)
  
  class Handle_Geom2d_TrimmedCurve(Handle_Geom2d_BoundedCurve):
      thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
      __repr__ = _swig_repr
      def __init__(self, *args): 
          _Geom2d.Handle_Geom2d_TrimmedCurve_swiginit(self,_Geom2d.new_Handle_Geom2d_TrimmedCurve(*args))
          # register the handle in the base object
          if len(args) > 0:
              register_handle(self, args[0])
  
  
  
      DownCast = staticmethod(_Geom2d.Handle_Geom2d_TrimmedCurve_DownCast)
      __swig_destroy__ = _Geom2d.delete_Handle_Geom2d_TrimmedCurve
  Handle_Geom2d_TrimmedCurve.Nullify = new_instancemethod(_Geom2d.Handle_Geom2d_TrimmedCurve_Nullify,None,Handle_Geom2d_TrimmedCurve)
  Handle_Geom2d_TrimmedCurve.IsNull = new_instancemethod(_Geom2d.Handle_Geom2d_TrimmedCurve_IsNull,None,Handle_Geom2d_TrimmedCurve)
  Handle_Geom2d_TrimmedCurve.GetObject = new_instancemethod(_Geom2d.Handle_Geom2d_TrimmedCurve_GetObject,None,Handle_Geom2d_TrimmedCurve)
  Handle_Geom2d_TrimmedCurve_swigregister = _Geom2d.Handle_Geom2d_TrimmedCurve_swigregister
  Handle_Geom2d_TrimmedCurve_swigregister(Handle_Geom2d_TrimmedCurve)
  
  def Handle_Geom2d_TrimmedCurve_DownCast(*args):
    return _Geom2d.Handle_Geom2d_TrimmedCurve_DownCast(*args)
  Handle_Geom2d_TrimmedCurve_DownCast = _Geom2d.Handle_Geom2d_TrimmedCurve_DownCast
  
  
  
  