OCC.BRepMAT2d module

class OCC.BRepMAT2d.BRepMAT2d_BisectingLocus

Bases: object

BasicElt()
Parameters:
  • IndLine (Standard_Integer) –
  • Index (Standard_Integer) –
Return type:

Handle_MAT_BasicElt

Compute()
Parameters:
  • anExplo (BRepMAT2d_Explorer &) –
  • LineIndex (Standard_Integer) – default value is 1
  • aSide (MAT_Side) – default value is MAT_Left
  • anExplo
  • LineIndex – default value is 1
  • aSide – default value is MAT_Left
  • anExplo
  • LineIndex – default value is 1
  • aSide – default value is MAT_Left
Return type:

None

Return type:

None

Return type:

None

GeomBis()
Parameters:
  • anArc (Handle_MAT_Arc &) –
  • Reverse (bool) –
Return type:

Bisector_Bisec

GeomElt()
Parameters:
  • aBasicElt (Handle_MAT_BasicElt &) –
  • aNode (Handle_MAT_Node &) –
Return type:

Handle_Geom2d_Geometry

Return type:

gp_Pnt2d

Graph()
Return type:Handle_MAT_Graph
IsDone()
Return type:bool
NumberOfContours()
Return type:int
NumberOfElts()
Parameters:IndLine (Standard_Integer) –
Return type:int
NumberOfSections()
Parameters:
  • IndLine (Standard_Integer) –
  • Index (Standard_Integer) –
Return type:

int

thisown

The membership flag

class OCC.BRepMAT2d.BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMAT2d_DataMapOfBasicEltShape &) –
Return type:None
Key()
Return type:Handle_MAT_BasicElt
Value()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.BRepMAT2d.BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMAT2d_DataMapOfShapeSequenceOfBasicElt &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:BRepMAT2d_SequenceOfBasicElt
thisown

The membership flag

class OCC.BRepMAT2d.BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape_GetHandle(BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape self) -> Handle_BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape

Key()
Return type:Handle_MAT_BasicElt
Value()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.BRepMAT2d.BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt_GetHandle(BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt self) -> Handle_BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt

Key()
Return type:TopoDS_Shape
Value()
Return type:BRepMAT2d_SequenceOfBasicElt
thisown

The membership flag

class OCC.BRepMAT2d.BRepMAT2d_DataMapOfBasicEltShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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 (Standard_Integer) –
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 OCC.BRepMAT2d.BRepMAT2d_DataMapOfShapeSequenceOfBasicElt(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepMAT2d_DataMapOfShapeSequenceOfBasicElt &) –
Return type:BRepMAT2d_DataMapOfShapeSequenceOfBasicElt
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (BRepMAT2d_SequenceOfBasicElt &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:BRepMAT2d_SequenceOfBasicElt
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:BRepMAT2d_SequenceOfBasicElt
Find1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
IsBound()
Parameters:K (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (Standard_Integer) –
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 OCC.BRepMAT2d.BRepMAT2d_Explorer(*args)

Bases: object

Clear()
  • Clear the contents of <self>.
Return type:None
Contour()
Parameters:IndexContour (Standard_Integer) –
Return type:TColGeom2d_SequenceOfCurve
GetIsClosed()
Return type:TColStd_SequenceOfBoolean
Init()
  • Initialisation of an Iterator on the curves of the Contour number <IndexContour>.
Parameters:IndexContour (Standard_Integer) –
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 (Standard_Integer) –
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 OCC.BRepMAT2d.BRepMAT2d_LinkTopoBilo(*args)

Bases: object

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 OCC.BRepMAT2d.BRepMAT2d_SequenceNodeOfSequenceOfBasicElt(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

BRepMAT2d_SequenceNodeOfSequenceOfBasicElt_GetHandle(BRepMAT2d_SequenceNodeOfSequenceOfBasicElt self) -> Handle_BRepMAT2d_SequenceNodeOfSequenceOfBasicElt

Value()
Return type:Handle_MAT_BasicElt
thisown

The membership flag

class OCC.BRepMAT2d.BRepMAT2d_SequenceOfBasicElt

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Handle_MAT_BasicElt &) –
  • S (BRepMAT2d_SequenceOfBasicElt &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepMAT2d_SequenceOfBasicElt &) –
Return type:BRepMAT2d_SequenceOfBasicElt
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Handle_MAT_BasicElt
Clear()
Return type:None
First()
Return type:Handle_MAT_BasicElt
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_MAT_BasicElt &) –
  • Index
  • S (BRepMAT2d_SequenceOfBasicElt &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_MAT_BasicElt &) –
  • Index
  • S (BRepMAT2d_SequenceOfBasicElt &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_MAT_BasicElt
Prepend()
Parameters:
  • T (Handle_MAT_BasicElt &) –
  • S (BRepMAT2d_SequenceOfBasicElt &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

Set()
Parameters:Other (BRepMAT2d_SequenceOfBasicElt &) –
Return type:BRepMAT2d_SequenceOfBasicElt
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Handle_MAT_BasicElt &) –
Return type:

None

Split()
Parameters:
  • Index (Standard_Integer) –
  • Sub (BRepMAT2d_SequenceOfBasicElt &) –
Return type:

None

Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_MAT_BasicElt
thisown

The membership flag

class OCC.BRepMAT2d.Handle_BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMAT2d.Handle_BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMAT2d.Handle_BRepMAT2d_SequenceNodeOfSequenceOfBasicElt(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.BRepMAT2d.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()