# OCC.Geom2dAdaptor module

class `Geom2dAdaptor_Curve`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_Curve2d`

  Return type: | None
  Parameters: | C (Handle_Geom2d_Curve &) –
  Return type: | None

  - ConstructionError is raised if Ufirst>Ulast

  Parameters: | C (Handle_Geom2d_Curve &) – UFirst (float) – ULast (float) –
  Return type: | None

  `Curve`()

    Return type: | Handle_Geom2d_Curve

  `Load`()

    Parameters: | C (Handle_Geom2d_Curve &) –
    Return type: | None

    - ConstructionError is raised if Ufirst>Ulast

    Parameters: | C (Handle_Geom2d_Curve &) – UFirst (float) – ULast (float) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dAdaptor_GHCurve`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_HCurve2d`

  Return type: | None
  Parameters: | C (Geom2dAdaptor_Curve &) –
  Return type: | None

  `ChangeCurve2d`()

    Return type: | Geom2dAdaptor_Curve

  `GetHandle`()
  `Set`()

    Parameters: | C (Geom2dAdaptor_Curve &) –
    Return type: | None

  `thisown`

    The membership flag

class `Geom2dAdaptor_HCurve`(*args)

  Bases: `OCC.Geom2dAdaptor.Geom2dAdaptor_GHCurve`

  Return type: | None
  Parameters: | AS (Geom2dAdaptor_Curve &) – S (Handle_Geom2d_Curve &) –
  Return type: | None
  Return type: | None

  - ConstructionError is raised if UFirst>ULast or VFirst>VLast

  Parameters: | S (Handle_Geom2d_Curve &) – UFirst (float) – ULast (float) –
  Return type: | None

  `GetHandle`()
  `thisown`

    The membership flag

class `Handle_Geom2dAdaptor_GHCurve`(*args)

  Bases: `OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_Geom2dAdaptor_HCurve`(*args)

  Bases: `OCC.Geom2dAdaptor.Handle_Geom2dAdaptor_GHCurve`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `SwigPyIterator`(*args, **kwargs)

  Bases: `object`

  `advance`()
  `copy`()
  `decr`()
  `distance`()
  `equal`()
  `incr`()
  `next`()
  `previous`()
  `thisown`

    The membership flag

  `value`()

class `geom2dadaptor`

  Bases: `object`

  static `MakeCurve`(*args)
    - Inherited from GHCurve. Provides a curve handled by reference. Creates a 2d curve from a HCurve2d. This cannot process the OtherCurves.

    Parameters: | HC (Adaptor2d_Curve2d &) –
    Return type: | Handle_Geom2d_Curve

  `thisown`

    The membership flag

`geom2dadaptor_MakeCurve`(*args)
  - Inherited from GHCurve. Provides a curve handled by reference. Creates a 2d curve from a HCurve2d. This cannot process the OtherCurves.

  Parameters: | HC (Adaptor2d_Curve2d &) –
  Return type: | Handle_Geom2d_Curve

`register_handle`(handle, base_object)

  Inserts the handle into the base object to prevent memory corruption in certain cases