# OCC.BRepTopAdaptor module

class `BRepTopAdaptor_DataMapIteratorOfMapOfShapeTool`(*args)

  Bases: `OCC.TCollection.TCollection_BasicMapIterator`

  Return type: | None
  Parameters: | aMap (BRepTopAdaptor_MapOfShapeTool &) –
  Return type: | None

  `Initialize`()

    Parameters: | aMap (BRepTopAdaptor_MapOfShapeTool &) –
    Return type: | None

  `Key`()

    Return type: | TopoDS_Shape

  `Value`()

    Return type: | BRepTopAdaptor_Tool

  `thisown`

    The membership flag

class `BRepTopAdaptor_DataMapNodeOfMapOfShapeTool`(*args)

  Bases: `OCC.TCollection.TCollection_MapNode`

  Parameters: | K (TopoDS_Shape &) – I (BRepTopAdaptor_Tool &) – n (TCollection_MapNodePtr &) –
  Return type: | None

  `GetHandle`()
  `Key`()

    Return type: | TopoDS_Shape

  `Value`()

    Return type: | BRepTopAdaptor_Tool

  `thisown`

    The membership flag

class `BRepTopAdaptor_FClass2d`(*args)

  Bases: `object`

  Parameters: | F (TopoDS_Face &) – Tol (float) –
  Return type: | None

  `Copy`()

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

  `Destroy`()

    Return type: | None

  `Perform`()

    Parameters: | Puv (gp_Pnt2d) – RecadreOnPeriodic (bool) – default value is Standard_True
    Return type: | TopAbs_State

  `PerformInfinitePoint`()

    Return type: | TopAbs_State

  `Set`()

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

  `TestOnRestriction`()
    - Test a point with +- an offset (Tol) and returns On if some points are OUT an some are IN (Caution: Internal use . see the code for more details)

    Parameters: | Puv (gp_Pnt2d) – Tol (float) – RecadreOnPeriodic (bool) – default value is Standard_True
    Return type: | TopAbs_State

  `thisown`

    The membership flag

class `BRepTopAdaptor_HVertex`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_HVertex`

  Parameters: | Vtx (TopoDS_Vertex &) – Curve (Handle_BRepAdaptor_HCurve2d &) –
  Return type: | None

  `ChangeVertex`()

    Return type: | TopoDS_Vertex

  `GetHandle`()
  `Vertex`()

    Return type: | TopoDS_Vertex

  `thisown`

    The membership flag

class `BRepTopAdaptor_MapOfShapeTool`(*args)

  Bases: `OCC.TCollection.TCollection_BasicMap`

  Parameters: | NbBuckets (int) – default value is 1
  Return type: | None

  `Assign`()

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

  `Bind`()

    Parameters: | K (TopoDS_Shape &) – I (BRepTopAdaptor_Tool &) –
    Return type: | bool

  `ChangeFind`()

    Parameters: | K (TopoDS_Shape &) –
    Return type: | BRepTopAdaptor_Tool

  `ChangeFind1`()

    Parameters: | K (TopoDS_Shape &) –
    Return type: | Standard_Address

  `Clear`()

    Return type: | None

  `Find`()

    Parameters: | K (TopoDS_Shape &) –
    Return type: | BRepTopAdaptor_Tool

  `Find1`()

    Parameters: | K (TopoDS_Shape &) –
    Return type: | Standard_Address

  `IsBound`()

    Parameters: | K (TopoDS_Shape &) –
    Return type: | bool

  `ReSize`()

    Parameters: | NbBuckets (int) –
    Return type: | None

  `Set`()

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

  `UnBind`()

    Parameters: | K (TopoDS_Shape &) –
    Return type: | bool

  `thisown`

    The membership flag

class `BRepTopAdaptor_Tool`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | F (TopoDS_Face &) – Tol2d (float) – Surface (Handle_Adaptor3d_HSurface &) – Tol2d –
  Return type: | None
  Return type: | None

  `Destroy`()

    Return type: | None

  `GetSurface`()

    Return type: | Handle_Adaptor3d_HSurface

  `GetTopolTool`()

    Return type: | Handle_BRepTopAdaptor_TopolTool

  `Init`()

    Parameters: | F (TopoDS_Face &) – Tol2d (float) – Surface (Handle_Adaptor3d_HSurface &) – Tol2d –
    Return type: | None
    Return type: | None

  `SetTopolTool`()

    Parameters: | TT (Handle_BRepTopAdaptor_TopolTool &) –
    Return type: | None

  `thisown`

    The membership flag

class `BRepTopAdaptor_TopolTool`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_TopolTool`

  Return type: | None
  Parameters: | Surface (Handle_Adaptor3d_HSurface &) –
  Return type: | None

  `Destroy`()

    Return type: | None

  `GetHandle`()
  `Initialize`()

    Return type: | void
    Parameters: | S (Handle_Adaptor3d_HSurface &) – Curve (Handle_Adaptor2d_HCurve2d &) –
    Return type: | void
    Return type: | void

  `Orientation`()
    - If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a ‘real’ limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.

    Parameters: | C (Handle_Adaptor2d_HCurve2d &) –
    Return type: | TopAbs_Orientation

    - If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a ‘real’ limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.

    Parameters: | C (Handle_Adaptor3d_HVertex &) –
    Return type: | TopAbs_Orientation

  `Tol3d`()
    - returns 3d tolerance of the arc C

    Parameters: | C (Handle_Adaptor2d_HCurve2d &) –
    Return type: | float

    - returns 3d tolerance of the vertex V

    Parameters: | V (Handle_Adaptor3d_HVertex &) –
    Return type: | float

  `thisown`

    The membership flag

class `Handle_BRepTopAdaptor_DataMapNodeOfMapOfShapeTool`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_MapNode`

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

    The membership flag

class `Handle_BRepTopAdaptor_HVertex`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_HVertex`

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

    The membership flag

class `Handle_BRepTopAdaptor_TopolTool`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_TopolTool`

  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