# OCC.BRepMAT2d module

class `BRepMAT2d_BisectingLocus`(*args)

  Bases: `object`

  Return type: | None

  `BasicElt`()
    - Returns the BasicElts located at the position <Index> on the contour designed by <IndLine>. Remark: the BasicElts on a contour are sorted.

    Parameters: | IndLine (int) – Index (int) –
    Return type: | Handle_MAT_BasicElt

  `Compute`()
    - Computation of the Bisector_Locus in a set of Lines defined in <anExplo>. The bisecting locus are computed on the side <aSide> from the line <LineIndex> in <anExplo>.

    Parameters: | anExplo (BRepMAT2d_Explorer &) – LineIndex (int) – default value is 1 aSide (MAT_Side) – default value is MAT_Left aJoinType (GeomAbs_JoinType) – default value is GeomAbs_Arc IsOpenResult (bool) – default value is Standard_False
    Return type: | None

  `GeomBis`()
    - Returns the geometry of type <Bissec> linked to the arc <ARC>. <Reverse> is False when the FirstNode of <anArc> correspond to the first point of geometry.

    Parameters: | anArc (Handle_MAT_Arc &) – Reverse (bool) –
    Return type: | Bisector_Bisec

  `GeomElt`()
    - Returns the geometry linked to the <BasicElt>.

    Parameters: | aBasicElt (Handle_MAT_BasicElt &) –
    Return type: | Handle_Geom2d_Geometry

    - Returns the geometry of type <gp> linked to the <Node>.

    Parameters: | aNode (Handle_MAT_Node &) –
    Return type: | gp_Pnt2d

  `Graph`()
    - Returns <theGraph> of <self>.

    Return type: | Handle_MAT_Graph

  `IsDone`()
    - Returns True if Compute has succeeded.

    Return type: | bool

  `NumberOfContours`()
    - Returns the number of contours.

    Return type: | int

  `NumberOfElts`()
    - Returns the number of BasicElts on the line <IndLine>.

    Parameters: | IndLine (int) –
    Return type: | int

  `NumberOfSections`()
    - Returns the number of sections of a curve. this curve is the Indexth curve in the IndLineth contour given by anExplo.

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

  `thisown`

    The membership flag

class `BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape`(*args)

  Bases: `OCC.TCollection.TCollection_BasicMapIterator`

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

  `Initialize`()

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

  `Key`()

    Return type: | Handle_MAT_BasicElt

  `Value`()

    Return type: | TopoDS_Shape

  `thisown`

    The membership flag

class `BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt`(*args)

  Bases: `OCC.TCollection.TCollection_BasicMapIterator`

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

  `Initialize`()

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

  `Key`()

    Return type: | TopoDS_Shape

  `Value`()

    Return type: | MAT_SequenceOfBasicElt

  `thisown`

    The membership flag

class `BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape`(*args)

  Bases: `OCC.TCollection.TCollection_MapNode`

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

  `GetHandle`()
  `Key`()

    Return type: | Handle_MAT_BasicElt

  `Value`()

    Return type: | TopoDS_Shape

  `thisown`

    The membership flag

class `BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt`(*args)

  Bases: `OCC.TCollection.TCollection_MapNode`

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

  `GetHandle`()
  `Key`()

    Return type: | TopoDS_Shape

  `Value`()

    Return type: | MAT_SequenceOfBasicElt

  `thisown`

    The membership flag

class `BRepMAT2d_DataMapOfBasicEltShape`(*args)

  Bases: `OCC.TCollection.TCollection_BasicMap`

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

  `Assign`()

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

  `Bind`()

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

  `ChangeFind`()

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

  `ChangeFind1`()

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

  `Clear`()

    Return type: | None

  `Find`()

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

  `Find1`()

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

  `IsBound`()

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

  `ReSize`()

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

  `Set`()

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

  `UnBind`()

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

  `thisown`

    The membership flag

class `BRepMAT2d_DataMapOfShapeSequenceOfBasicElt`(*args)

  Bases: `OCC.TCollection.TCollection_BasicMap`

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

  `Assign`()

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

  `Bind`()

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

  `ChangeFind`()

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

  `ChangeFind1`()

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

  `Clear`()

    Return type: | None

  `Find`()

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

  `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 (BRepMAT2d_DataMapOfShapeSequenceOfBasicElt &) –
    Return type: | BRepMAT2d_DataMapOfShapeSequenceOfBasicElt

  `UnBind`()

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

  `thisown`

    The membership flag

class `BRepMAT2d_Explorer`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | aFace (TopoDS_Face &) –
  Return type: | None

  `Clear`()
    - Clear the contents of <self>.

    Return type: | None

  `Contour`()

    Parameters: | IndexContour (int) –
    Return type: | TColGeom2d_SequenceOfCurve

  `GetIsClosed`()

    Return type: | TColStd_SequenceOfBoolean

  `Init`()
    - Initialisation of an Iterator on the curves of the Contour number <IndexContour>.

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

  `IsModified`()

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

  `ModifiedShape`()
    - If the shape is not modified, returns the shape itself.

    Parameters: | aShape (TopoDS_Shape &) –
    Return type: | TopoDS_Shape

  `More`()
    - Return False if there is no more curves on the Contour initialised by the method Init.

    Return type: | bool

  `Next`()
    - Move to the next curve of the current Contour.

    Return type: | None

  `NumberOfContours`()
    - Returns the Number of contours.

    Return type: | int

  `NumberOfCurves`()
    - Returns the Number of Curves in the Contour number <IndexContour>.

    Parameters: | IndexContour (int) –
    Return type: | int

  `Perform`()

    Parameters: | aFace (TopoDS_Face &) –
    Return type: | None

  `Shape`()

    Return type: | TopoDS_Shape

  `Value`()
    - Returns the current curve on the current Contour.

    Return type: | Handle_Geom2d_Curve

  `thisown`

    The membership flag

class `BRepMAT2d_LinkTopoBilo`(*args)

  Bases: `object`

  Return type: | None

  - Constructs the links Between S and BiLo. //! raises if <S> is not a face.

  Parameters: | Explo (BRepMAT2d_Explorer &) – BiLo (BRepMAT2d_BisectingLocus &) –
  Return type: | None

  `GeneratingShape`()
    - Returns the Shape linked to <aBE>.

    Parameters: | aBE (Handle_MAT_BasicElt &) –
    Return type: | TopoDS_Shape

  `Init`()
    - Initialise the Iterator on <S> <S> is an edge or a vertex of the initial wire or face. raises if <S> is not an edge or a vertex.

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

  `More`()
    - Returns True if there is a current BasicElt.

    Return type: | bool

  `Next`()
    - Proceed to the next BasicElt.

    Return type: | None

  `Perform`()
    - Constructs the links Between S and BiLo. //! raises if <S> is not a face or a wire.

    Parameters: | Explo (BRepMAT2d_Explorer &) – BiLo (BRepMAT2d_BisectingLocus &) –
    Return type: | None

  `Value`()
    - Returns the current BasicElt.

    Return type: | Handle_MAT_BasicElt

  `thisown`

    The membership flag

class `Handle_BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_MapNode`

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

    The membership flag

class `Handle_BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_MapNode`

  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