# OCC.BRepAdaptor module

class `BRepAdaptor_Array1OfCurve`(*args)

  Bases: `object`

  Parameters: | Low (int) – Up (int) – Item (BRepAdaptor_Curve &) – Low – Up –
  Return type: | None
  Return type: | None

  `Assign`()

    Parameters: | Other (BRepAdaptor_Array1OfCurve &) –
    Return type: | BRepAdaptor_Array1OfCurve

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | BRepAdaptor_Curve

  `Destroy`()

    Return type: | None

  `Init`()

    Parameters: | V (BRepAdaptor_Curve &) –
    Return type: | None

  `IsAllocated`()

    Return type: | bool

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `Set`()

    Parameters: | Other (BRepAdaptor_Array1OfCurve &) –
    Return type: | BRepAdaptor_Array1OfCurve

  `SetValue`()

    Parameters: | Index (int) – Value (BRepAdaptor_Curve &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | BRepAdaptor_Curve

  `thisown`

    The membership flag

class `BRepAdaptor_CompCurve`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_Curve`

  - Creates an undefined Curve with no Wire loaded.

  Return type: | None
  Parameters: | W (TopoDS_Wire &) – KnotByCurvilinearAbcissa (bool) – default value is Standard_False
  Return type: | None

  - Creates a Curve to acces to the geometry of edge <W>.

  Parameters: | W (TopoDS_Wire &) – KnotByCurvilinearAbcissa (bool) – First (float) – Last (float) – Tol (float) –
  Return type: | None

  `Edge`()
    - returns an edge and one parameter on them corresponding to the parameter U.

    Parameters: | U (float) – E (TopoDS_Edge &) – UonE (float &) –
    Return type: | None

  `Initialize`()
    - Sets the wire <W>.

    Parameters: | W (TopoDS_Wire &) – KnotByCurvilinearAbcissa (bool) –
    Return type: | None

    - Sets wire <W> and trimmed parameter.

    Parameters: | W (TopoDS_Wire &) – KnotByCurvilinearAbcissa (bool) – First (float) – Last (float) – Tol (float) –
    Return type: | None

  `SetPeriodic`()
    - Set the flag Periodic. Warning: This method has no effect if the wire is not closed

    Parameters: | Periodic (bool) –
    Return type: | None

  `Wire`()
    - Returns the wire.

    Return type: | TopoDS_Wire

  `thisown`

    The membership flag

class `BRepAdaptor_Curve`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_Curve`

  - Creates an undefined Curve with no Edge loaded.

  Return type: | None

  - Creates a Curve to acces to the geometry of edge <E>.

  Parameters: | E (TopoDS_Edge &) –
  Return type: | None

  - Creates a Curve to acces to the geometry of edge <E>. The geometry will be computed using the parametric curve of <E> on the face <F>. An Error is raised if the edge does not have a pcurve on the face.

  Parameters: | E (TopoDS_Edge &) – F (TopoDS_Face &) –
  Return type: | None

  `Curve`()
    - Returns the Curve of the edge.

    Return type: | GeomAdaptor_Curve

  `CurveOnSurface`()
    - Returns the CurveOnSurface of the edge.

    Return type: | Adaptor3d_CurveOnSurface

  `Edge`()
    - Returns the edge.

    Return type: | TopoDS_Edge

  `Initialize`()
    - Sets the Curve <self> to acces to the geometry of edge <E>.

    Parameters: | E (TopoDS_Edge &) –
    Return type: | None

    - Sets the Curve <self> to acces to the geometry of edge <E>. The geometry will be computed using the parametric curve of <E> on the face <F>. An Error is raised if the edge does not have a pcurve on the face.

    Parameters: | E (TopoDS_Edge &) – F (TopoDS_Face &) –
    Return type: | None

  `Is3DCurve`()
    - Returns True if the edge geometry is computed from a 3D curve.

    Return type: | bool

  `IsCurveOnSurface`()
    - Returns True if the edge geometry is computed from a pcurve on a surface.

    Return type: | bool

  `Tolerance`()
    - Returns the edge tolerance.

    Return type: | float

  `Trsf`()
    - Returns the coordinate system of the curve.

    Return type: | gp_Trsf

  `thisown`

    The membership flag

class `BRepAdaptor_Curve2d`(*args)

  Bases: `OCC.Geom2dAdaptor.Geom2dAdaptor_Curve`

  - Creates an uninitialized curve2d.

  Return type: | None

  - Creates with the pcurve of <E> on <F>.

  Parameters: | E (TopoDS_Edge &) – F (TopoDS_Face &) –
  Return type: | None

  `Edge`()
    - Returns the Edge.

    Return type: | TopoDS_Edge

  `Face`()
    - Returns the Face.

    Return type: | TopoDS_Face

  `Initialize`()
    - Initialize with the pcurve of <E> on <F>.

    Parameters: | E (TopoDS_Edge &) – F (TopoDS_Face &) –
    Return type: | None

  `thisown`

    The membership flag

class `BRepAdaptor_HArray1OfCurve`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Parameters: | Low (int) – Up (int) – Low – Up – V (BRepAdaptor_Curve &) –
  Return type: | None
  Return type: | None

  `Array1`()

    Return type: | BRepAdaptor_Array1OfCurve

  `ChangeArray1`()

    Return type: | BRepAdaptor_Array1OfCurve

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | BRepAdaptor_Curve

  `GetHandle`()
  `Init`()

    Parameters: | V (BRepAdaptor_Curve &) –
    Return type: | None

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `SetValue`()

    Parameters: | Index (int) – Value (BRepAdaptor_Curve &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | BRepAdaptor_Curve

  `thisown`

    The membership flag

class `BRepAdaptor_HCompCurve`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_HCurve`

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

  `ChangeCurve`()

    Return type: | BRepAdaptor_CompCurve

  `GetHandle`()
  `Set`()

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

  `thisown`

    The membership flag

class `BRepAdaptor_HCurve`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_HCurve`

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

  `ChangeCurve`()

    Return type: | BRepAdaptor_Curve

  `GetHandle`()
  `Set`()

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

  `thisown`

    The membership flag

class `BRepAdaptor_HCurve2d`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_HCurve2d`

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

  `ChangeCurve2d`()

    Return type: | BRepAdaptor_Curve2d

  `GetHandle`()
  `Set`()

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

  `thisown`

    The membership flag

class `BRepAdaptor_HSurface`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_HSurface`

  Return type: | None
  Parameters: | S (BRepAdaptor_Surface &) –
  Return type: | None

  `ChangeSurface`()

    Return type: | BRepAdaptor_Surface

  `GetHandle`()
  `Set`()

    Parameters: | S (BRepAdaptor_Surface &) –
    Return type: | None

  `thisown`

    The membership flag

class `BRepAdaptor_Surface`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_Surface`

  - Creates an undefined surface with no face loaded.

  Return type: | None

  - Creates a surface to access the geometry of <F>. If <Restriction> is true the parameter range is the parameter range in the UV space of the restriction.

  Parameters: | F (TopoDS_Face &) – R (bool) – default value is Standard_True
  Return type: | None

  `ChangeSurface`()
    - Returns the surface.

    Return type: | GeomAdaptor_Surface

  `Face`()
    - Returns the face.

    Return type: | TopoDS_Face

  `Initialize`()
    - Sets the surface to the geometry of <F>.

    Parameters: | F (TopoDS_Face &) – Restriction (bool) – default value is Standard_True
    Return type: | None

  `Surface`()
    - Returns the surface.

    Return type: | GeomAdaptor_Surface

  `Tolerance`()
    - Returns the face tolerance.

    Return type: | float

  `Trsf`()
    - Returns the surface coordinate system.

    Return type: | gp_Trsf

  `thisown`

    The membership flag

class `Handle_BRepAdaptor_HArray1OfCurve`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

class `Handle_BRepAdaptor_HCompCurve`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_HCurve`

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

    The membership flag

class `Handle_BRepAdaptor_HCurve`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_HCurve`

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

    The membership flag

class `Handle_BRepAdaptor_HCurve2d`(*args)

  Bases: `OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d`

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

    The membership flag

class `Handle_BRepAdaptor_HSurface`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_HSurface`

  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`()

`register_handle`(handle, base_object)

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