OCC.MAT2d module

class Handle_MAT2d_Circuit(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_MAT2d_Connexion(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_MAT2d_DataMapNodeOfDataMapOfBiIntInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_MAT2d_DataMapNodeOfDataMapOfBiIntSequenceOfInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_MAT2d_DataMapNodeOfDataMapOfIntegerBisec(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_MAT2d_DataMapNodeOfDataMapOfIntegerConnexion(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_MAT2d_DataMapNodeOfDataMapOfIntegerVec2d(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_MAT2d_SequenceNodeOfSequenceOfConnexion(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_MAT2d_SequenceNodeOfSequenceOfSequenceOfCurve(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_MAT2d_SequenceNodeOfSequenceOfSequenceOfGeometry(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class MAT2d_Array2OfConnexion(*args)

Bases: object

Parameters:
  • R1 (int) –
  • R2 (int) –
  • C1 (int) –
  • C2 (int) –
  • Item (Handle_MAT2d_Connexion &) –
  • R1
  • R2
  • C1
  • C2
Return type:

None

Return type:

None

Assign()
Parameters:Other (MAT2d_Array2OfConnexion &) –
Return type:MAT2d_Array2OfConnexion
ChangeValue()
Parameters:
Return type:

Handle_MAT2d_Connexion

ColLength()
Return type:int
Destroy()
Return type:None
Init()
Parameters:V (Handle_MAT2d_Connexion &) –
Return type:None
LowerCol()
Return type:int
LowerRow()
Return type:int
RowLength()
Return type:int
Set()
Parameters:Other (MAT2d_Array2OfConnexion &) –
Return type:MAT2d_Array2OfConnexion
SetValue()
Parameters:
  • Row (int) –
  • Col (int) –
  • Value (Handle_MAT2d_Connexion &) –
Return type:

None

UpperCol()
Return type:int
UpperRow()
Return type:int
Value()
Parameters:
Return type:

Handle_MAT2d_Connexion

thisown

The membership flag

class MAT2d_BiInt(*args)

Bases: object

Parameters:
Return type:

None

FirstIndex()
Return type:int
Parameters:I1 (int) –
Return type:None
IsEqual()
Parameters:B (MAT2d_BiInt &) –
Return type:bool
SecondIndex()
Return type:int
Parameters:I2 (int) –
Return type:None
thisown

The membership flag

class MAT2d_Circuit(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • aJoinType (GeomAbs_JoinType) – default value is GeomAbs_Arc
  • IsOpenResult (bool) – default value is Standard_False
Return type:

None

Connexion()
  • Returns the Connexion on the item <Index> in me.
Parameters:Index (int) –
Return type:Handle_MAT2d_Connexion
ConnexionOn()
  • Returns <True> is there is a connexion on the item <Index> in <self>.
Parameters:Index (int) –
Return type:bool
GetHandle()
LineLength()
  • Returns the number of items on the line <IndexLine>.
Parameters:IndexLine (int) –
Return type:int
NumberOfItems()
  • Returns the Number of Items .
Return type:int
Perform()
Parameters:
  • aFigure (MAT2d_SequenceOfSequenceOfGeometry &) –
  • IsClosed (TColStd_SequenceOfBoolean &) –
  • IndRefLine (int) –
  • Trigo (bool) –
Return type:

None

RefToEqui()
  • Returns the set of index of the items in <self>corresponding to the curve <IndCurve> on the line <IndLine> from the initial figure.
Parameters:
  • IndLine (int) –
  • IndCurve (int) –
Return type:

TColStd_SequenceOfInteger

Value()
  • Returns the item at position <Index> in <self>.
Parameters:Index (int) –
Return type:Handle_Geom2d_Geometry
thisown

The membership flag

class MAT2d_Connexion(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:

None

Parameters:
Return type:

None

Distance()
  • Returns the distance between the two points.
Return type:float
Parameters:aDistance (float) –
Return type:None
Dump()
  • Print <self>.
Parameters:
  • Deep (int) – default value is 0
  • Offset (int) – default value is 0
Return type:

None

GetHandle()
IndexFirstLine()
  • Returns the Index on the first line.
Return type:int
Parameters:anIndex (int) –
Return type:None
IndexItemOnFirst()
  • Returns the Index of the item on the first line.
Return type:int
Parameters:anIndex (int) –
Return type:None
IndexItemOnSecond()
  • Returns the Index of the item on the second line.
Return type:int
Parameters:anIndex (int) –
Return type:None
IndexSecondLine()
  • Returns the Index on the Second line.
Return type:int
Parameters:anIndex (int) –
Return type:None
IsAfter()
  • Returns <True> if my firstPoint is on the same line than the firstpoint of <aConnexion> and my firstpoint is after the firstpoint of <aConnexion> on the line. <aSense> = 1 if <aConnexion> is on the Left of its firstline, else <aSense> = -1.
Parameters:
  • aConnexion (Handle_MAT2d_Connexion &) –
  • aSense (float) –
Return type:

bool

ParameterOnFirst()
  • Returns the parameter of the point on the firstline.
Return type:float
Parameters:aParameter (float) –
Return type:None
ParameterOnSecond()
  • Returns the parameter of the point on the secondline.
Return type:float
Parameters:aParameter (float) –
Return type:None
PointOnFirst()
  • Returns the point on the firstline.
Return type:gp_Pnt2d
Parameters:aPoint (gp_Pnt2d) –
Return type:None
PointOnSecond()
  • Returns the point on the secondline.
Return type:gp_Pnt2d
Parameters:aPoint (gp_Pnt2d) –
Return type:None
Reverse()
  • Returns the reverse connexion of <self>. the firstpoint is the secondpoint. the secondpoint is the firstpoint.
Return type:Handle_MAT2d_Connexion
thisown

The membership flag

class MAT2d_DataMapIteratorOfDataMapOfBiIntInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MAT2d_DataMapOfBiIntInteger &) –
Return type:None
Initialize()
Parameters:aMap (MAT2d_DataMapOfBiIntInteger &) –
Return type:None
Key()
Return type:MAT2d_BiInt
Value()
Return type:int
thisown

The membership flag

class MAT2d_DataMapIteratorOfDataMapOfBiIntSequenceOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MAT2d_DataMapOfBiIntSequenceOfInteger &) –
Return type:None
Initialize()
Parameters:aMap (MAT2d_DataMapOfBiIntSequenceOfInteger &) –
Return type:None
Key()
Return type:MAT2d_BiInt
Value()
Return type:TColStd_SequenceOfInteger
thisown

The membership flag

class MAT2d_DataMapIteratorOfDataMapOfIntegerBisec(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MAT2d_DataMapOfIntegerBisec &) –
Return type:None
Initialize()
Parameters:aMap (MAT2d_DataMapOfIntegerBisec &) –
Return type:None
Key()
Return type:int
Value()
Return type:Bisector_Bisec
thisown

The membership flag

class MAT2d_DataMapIteratorOfDataMapOfIntegerConnexion(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MAT2d_DataMapOfIntegerConnexion &) –
Return type:None
Initialize()
Parameters:aMap (MAT2d_DataMapOfIntegerConnexion &) –
Return type:None
Key()
Return type:int
Value()
Return type:Handle_MAT2d_Connexion
thisown

The membership flag

class MAT2d_DataMapIteratorOfDataMapOfIntegerPnt2d(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MAT2d_DataMapOfIntegerPnt2d &) –
Return type:None
Initialize()
Parameters:aMap (MAT2d_DataMapOfIntegerPnt2d &) –
Return type:None
Key()
Return type:int
Value()
Return type:gp_Pnt2d
thisown

The membership flag

class MAT2d_DataMapIteratorOfDataMapOfIntegerSequenceOfConnexion(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MAT2d_DataMapOfIntegerSequenceOfConnexion &) –
Return type:None
Initialize()
Parameters:aMap (MAT2d_DataMapOfIntegerSequenceOfConnexion &) –
Return type:None
Key()
Return type:int
Value()
Return type:MAT2d_SequenceOfConnexion
thisown

The membership flag

class MAT2d_DataMapIteratorOfDataMapOfIntegerVec2d(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MAT2d_DataMapOfIntegerVec2d &) –
Return type:None
Initialize()
Parameters:aMap (MAT2d_DataMapOfIntegerVec2d &) –
Return type:None
Key()
Return type:int
Value()
Return type:gp_Vec2d
thisown

The membership flag

class MAT2d_DataMapNodeOfDataMapOfBiIntInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (MAT2d_BiInt &) –
  • I (int &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetValue()

MAT2d_DataMapNodeOfDataMapOfBiIntInteger_GetValue(MAT2d_DataMapNodeOfDataMapOfBiIntInteger self) -> Standard_Integer

Key()
Return type:MAT2d_BiInt
SetValue()

MAT2d_DataMapNodeOfDataMapOfBiIntInteger_SetValue(MAT2d_DataMapNodeOfDataMapOfBiIntInteger self, Standard_Integer value)

thisown

The membership flag

class MAT2d_DataMapNodeOfDataMapOfBiIntSequenceOfInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (MAT2d_BiInt &) –
  • I (TColStd_SequenceOfInteger &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:MAT2d_BiInt
Value()
Return type:TColStd_SequenceOfInteger
thisown

The membership flag

class MAT2d_DataMapNodeOfDataMapOfIntegerBisec(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (Bisector_Bisec &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerBisec_GetKey(MAT2d_DataMapNodeOfDataMapOfIntegerBisec self) -> Standard_Integer

SetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerBisec_SetKey(MAT2d_DataMapNodeOfDataMapOfIntegerBisec self, Standard_Integer value)

Value()
Return type:Bisector_Bisec
thisown

The membership flag

class MAT2d_DataMapNodeOfDataMapOfIntegerConnexion(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (Handle_MAT2d_Connexion &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerConnexion_GetKey(MAT2d_DataMapNodeOfDataMapOfIntegerConnexion self) -> Standard_Integer

SetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerConnexion_SetKey(MAT2d_DataMapNodeOfDataMapOfIntegerConnexion self, Standard_Integer value)

Value()
Return type:Handle_MAT2d_Connexion
thisown

The membership flag

class MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (gp_Pnt2d) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d_GetKey(MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d self) -> Standard_Integer

SetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d_SetKey(MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d self, Standard_Integer value)

Value()
Return type:gp_Pnt2d
thisown

The membership flag

class MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (MAT2d_SequenceOfConnexion &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion_GetKey(MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion self) -> Standard_Integer

SetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion_SetKey(MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion self, Standard_Integer value)

Value()
Return type:MAT2d_SequenceOfConnexion
thisown

The membership flag

class MAT2d_DataMapNodeOfDataMapOfIntegerVec2d(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (gp_Vec2d) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerVec2d_GetKey(MAT2d_DataMapNodeOfDataMapOfIntegerVec2d self) -> Standard_Integer

SetKey()

MAT2d_DataMapNodeOfDataMapOfIntegerVec2d_SetKey(MAT2d_DataMapNodeOfDataMapOfIntegerVec2d self, Standard_Integer value)

Value()
Return type:gp_Vec2d
thisown

The membership flag

class MAT2d_DataMapOfBiIntInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MAT2d_DataMapOfBiIntInteger &) –
Return type:MAT2d_DataMapOfBiIntInteger
Bind()
Parameters:
  • K (MAT2d_BiInt &) –
  • I (int &) –
Return type:

bool

ChangeFind()
Parameters:K (MAT2d_BiInt &) –
Return type:int
ChangeFind1()
Parameters:K (MAT2d_BiInt &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (MAT2d_BiInt &) –
Return type:int
Find1()
Parameters:K (MAT2d_BiInt &) –
Return type:Standard_Address
IsBound()
Parameters:K (MAT2d_BiInt &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MAT2d_DataMapOfBiIntInteger &) –
Return type:MAT2d_DataMapOfBiIntInteger
UnBind()
Parameters:K (MAT2d_BiInt &) –
Return type:bool
thisown

The membership flag

class MAT2d_DataMapOfBiIntSequenceOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MAT2d_DataMapOfBiIntSequenceOfInteger &) –
Return type:MAT2d_DataMapOfBiIntSequenceOfInteger
Bind()
Parameters:
  • K (MAT2d_BiInt &) –
  • I (TColStd_SequenceOfInteger &) –
Return type:

bool

ChangeFind()
Parameters:K (MAT2d_BiInt &) –
Return type:TColStd_SequenceOfInteger
ChangeFind1()
Parameters:K (MAT2d_BiInt &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (MAT2d_BiInt &) –
Return type:TColStd_SequenceOfInteger
Find1()
Parameters:K (MAT2d_BiInt &) –
Return type:Standard_Address
IsBound()
Parameters:K (MAT2d_BiInt &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MAT2d_DataMapOfBiIntSequenceOfInteger &) –
Return type:MAT2d_DataMapOfBiIntSequenceOfInteger
UnBind()
Parameters:K (MAT2d_BiInt &) –
Return type:bool
thisown

The membership flag

class MAT2d_DataMapOfIntegerBisec(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MAT2d_DataMapOfIntegerBisec &) –
Return type:MAT2d_DataMapOfIntegerBisec
Bind()
Parameters:
  • K (int &) –
  • I (Bisector_Bisec &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:Bisector_Bisec
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:Bisector_Bisec
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MAT2d_DataMapOfIntegerBisec &) –
Return type:MAT2d_DataMapOfIntegerBisec
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MAT2d_DataMapOfIntegerConnexion(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MAT2d_DataMapOfIntegerConnexion &) –
Return type:MAT2d_DataMapOfIntegerConnexion
Bind()
Parameters:
  • K (int &) –
  • I (Handle_MAT2d_Connexion &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:Handle_MAT2d_Connexion
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:Handle_MAT2d_Connexion
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MAT2d_DataMapOfIntegerConnexion &) –
Return type:MAT2d_DataMapOfIntegerConnexion
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MAT2d_DataMapOfIntegerPnt2d(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MAT2d_DataMapOfIntegerPnt2d &) –
Return type:MAT2d_DataMapOfIntegerPnt2d
Bind()
Parameters:
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:gp_Pnt2d
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:gp_Pnt2d
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MAT2d_DataMapOfIntegerPnt2d &) –
Return type:MAT2d_DataMapOfIntegerPnt2d
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MAT2d_DataMapOfIntegerSequenceOfConnexion(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MAT2d_DataMapOfIntegerSequenceOfConnexion &) –
Return type:MAT2d_DataMapOfIntegerSequenceOfConnexion
Bind()
Parameters:
  • K (int &) –
  • I (MAT2d_SequenceOfConnexion &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:MAT2d_SequenceOfConnexion
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:MAT2d_SequenceOfConnexion
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MAT2d_DataMapOfIntegerSequenceOfConnexion &) –
Return type:MAT2d_DataMapOfIntegerSequenceOfConnexion
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MAT2d_DataMapOfIntegerVec2d(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MAT2d_DataMapOfIntegerVec2d &) –
Return type:MAT2d_DataMapOfIntegerVec2d
Bind()
Parameters:
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:gp_Vec2d
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:gp_Vec2d
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MAT2d_DataMapOfIntegerVec2d &) –
Return type:MAT2d_DataMapOfIntegerVec2d
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MAT2d_MapBiIntHasher

Bases: object

static HashCode(*args)
Parameters:
  • Key1 (MAT2d_BiInt &) –
  • Upper (int) –
Return type:

int

static IsEqual(*args)
Parameters:
  • Key1 (MAT2d_BiInt &) –
  • Key2 (MAT2d_BiInt &) –
Return type:

bool

thisown

The membership flag

MAT2d_MapBiIntHasher_HashCode(*args)
Parameters:
  • Key1 (MAT2d_BiInt &) –
  • Upper (int) –
Return type:

int

MAT2d_MapBiIntHasher_IsEqual(*args)
Parameters:
  • Key1 (MAT2d_BiInt &) –
  • Key2 (MAT2d_BiInt &) –
Return type:

bool

class MAT2d_Mat2d(*args)

Bases: object

  • Empty construtor.
Parameters:IsOpenResult (bool) – default value is Standard_False
Return type:None
CreateMat()
  • Algoritm of computation of the bisecting locus.
Parameters:aTool (MAT2d_Tool2d &) –
Return type:None
CreateMatOpen()
  • Algoritm of computation of the bisecting locus for open wire.
Parameters:aTool (MAT2d_Tool2d &) –
Return type:None
Init()
  • Initialize an iterator on the set of the roots of the trees of bisectors.
Return type:None
IsDone()
  • Returns <True> if CreateMat has succeeded.
Return type:bool
More()
  • Return False if there is no more roots.
Return type:bool
Next()
  • Move to the next root.
Return type:None
NumberOfBisectors()
  • Returns the total number of bisectors.
Return type:int
SemiInfinite()
  • Returns True if there are semi_infinite bisectors. So there is a tree for each semi_infinte bisector.
Return type:bool
bisector()
  • Returns the current root.
Return type:Handle_MAT_Bisector
thisown

The membership flag

class MAT2d_MiniPath(*args)

Bases: object

Return type:None
ConnexionsFrom()
  • Returns the connexions which start on line designed by <Index>.
Parameters:Index (int) –
Return type:MAT2d_SequenceOfConnexion
Father()
  • Returns the connexion which ends on line designed by <Index>.
Parameters:Index (int) –
Return type:Handle_MAT2d_Connexion
IsConnexionsFrom()
  • Returns <True> if there is one Connexion which starts on line designed by <Index>.
Parameters:Index (int) –
Return type:bool
IsRoot()
  • Returns <True> if the line designed by <Index> is the root.
Parameters:Index (int) –
Return type:bool
Path()
  • Returns the sequence of connexions corresponding to the path.
Return type:MAT2d_SequenceOfConnexion
Perform()
  • Computes the path to link the lines in <Figure>. the path starts on the line of index <IndStart> <Sense> = True if the Circuit turns in the trigonometric sense.
Parameters:
  • Figure (MAT2d_SequenceOfSequenceOfGeometry &) –
  • IndStart (int) –
  • Sense (bool) –
Return type:

None

RunOnConnexions()
  • Run on the set of connexions to compute the path. the path is an exploration of the tree which contains the connexions and their reverses. if the tree of connexions is A / | B E / | | C D F //! the path is A->B, B->C, C->B, B->D, D->B, B->A, A->E, E->F, F->E, E->A.
Return type:None
thisown

The membership flag

class MAT2d_SequenceNodeOfSequenceOfConnexion(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (Handle_MAT2d_Connexion &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_MAT2d_Connexion
thisown

The membership flag

class MAT2d_SequenceNodeOfSequenceOfSequenceOfCurve(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (TColGeom2d_SequenceOfCurve &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:TColGeom2d_SequenceOfCurve
thisown

The membership flag

class MAT2d_SequenceNodeOfSequenceOfSequenceOfGeometry(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (TColGeom2d_SequenceOfGeometry &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:TColGeom2d_SequenceOfGeometry
thisown

The membership flag

class MAT2d_SequenceOfConnexion(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (MAT2d_SequenceOfConnexion &) –
Return type:None
Append()
Parameters:
  • T (Handle_MAT2d_Connexion &) –
  • S (MAT2d_SequenceOfConnexion &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (MAT2d_SequenceOfConnexion &) –
Return type:MAT2d_SequenceOfConnexion
ChangeValue()
Parameters:Index (int) –
Return type:Handle_MAT2d_Connexion
Clear()
Return type:None
First()
Return type:Handle_MAT2d_Connexion
InsertAfter()
Parameters:
  • Index (int) –
  • T (Handle_MAT2d_Connexion &) –
  • Index
  • S (MAT2d_SequenceOfConnexion &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_MAT2d_Connexion &) –
  • Index
  • S (MAT2d_SequenceOfConnexion &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_MAT2d_Connexion
Prepend()
Parameters:
  • T (Handle_MAT2d_Connexion &) –
  • S (MAT2d_SequenceOfConnexion &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (MAT2d_SequenceOfConnexion &) –
Return type:MAT2d_SequenceOfConnexion
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_MAT2d_Connexion &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (MAT2d_SequenceOfConnexion &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:Handle_MAT2d_Connexion
thisown

The membership flag

class MAT2d_SequenceOfSequenceOfCurve(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:None
Append()
Parameters:
  • T (TColGeom2d_SequenceOfCurve &) –
  • S (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:MAT2d_SequenceOfSequenceOfCurve
ChangeValue()
Parameters:Index (int) –
Return type:TColGeom2d_SequenceOfCurve
Clear()
Return type:None
First()
Return type:TColGeom2d_SequenceOfCurve
InsertAfter()
Parameters:
  • Index (int) –
  • T (TColGeom2d_SequenceOfCurve &) –
  • Index
  • S (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (TColGeom2d_SequenceOfCurve &) –
  • Index
  • S (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:

None

Return type:

None

Last()
Return type:TColGeom2d_SequenceOfCurve
Prepend()
Parameters:
  • T (TColGeom2d_SequenceOfCurve &) –
  • S (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:MAT2d_SequenceOfSequenceOfCurve
SetValue()
Parameters:
  • Index (int) –
  • I (TColGeom2d_SequenceOfCurve &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:TColGeom2d_SequenceOfCurve
thisown

The membership flag

class MAT2d_SequenceOfSequenceOfGeometry(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:None
Append()
Parameters:
  • T (TColGeom2d_SequenceOfGeometry &) –
  • S (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:MAT2d_SequenceOfSequenceOfGeometry
ChangeValue()
Parameters:Index (int) –
Return type:TColGeom2d_SequenceOfGeometry
Clear()
Return type:None
First()
Return type:TColGeom2d_SequenceOfGeometry
InsertAfter()
Parameters:
  • Index (int) –
  • T (TColGeom2d_SequenceOfGeometry &) –
  • Index
  • S (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (TColGeom2d_SequenceOfGeometry &) –
  • Index
  • S (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:

None

Return type:

None

Last()
Return type:TColGeom2d_SequenceOfGeometry
Prepend()
Parameters:
  • T (TColGeom2d_SequenceOfGeometry &) –
  • S (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:MAT2d_SequenceOfSequenceOfGeometry
SetValue()
Parameters:
  • Index (int) –
  • I (TColGeom2d_SequenceOfGeometry &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:TColGeom2d_SequenceOfGeometry
thisown

The membership flag

class MAT2d_Tool2d(*args)

Bases: object

  • Empty Constructor.
Return type:None
BisecFusion()
Parameters:
  • Index1 (int) –
  • Index2 (int) –
Return type:

None

ChangeGeomBis()
  • Returns the <Bisec> of index <Index> in <theGeomBisectors>.
Parameters:Index (int) –
Return type:Bisector_Bisec
Circuit()
Return type:Handle_MAT2d_Circuit
CreateBisector()
  • Creates the geometric bisector defined by <abisector>.
Parameters:abisector (Handle_MAT_Bisector &) –
Return type:None
Distance()
  • Returns the distance between the two points designed by their parameters on <abisector>.
Parameters:
  • abisector (Handle_MAT_Bisector &) –
  • param1 (float) –
  • param2 (float) –
Return type:

float

Dump()
  • displays informations about the bisector defined by <bisector>.
Parameters:
  • bisector (int) –
  • erease (int) –
Return type:

None

FirstPoint()
  • Creates the point at the origin of the bisector between anitem and the previous item. dist is the distance from the FirstPoint to <anitem>. Returns the index of this point in <theGeomPnts>.
Parameters:
  • anitem (int) –
  • dist (float &) –
Return type:

int

GeomBis()
  • Returns the <Bisec> of index <Index> in <theGeomBisectors>.
Parameters:Index (int) –
Return type:Bisector_Bisec
GeomElt()
  • Returns the Geometry of index <Index> in <theGeomElts>.
Parameters:Index (int) –
Return type:Handle_Geom2d_Geometry
GeomPnt()
  • Returns the point of index <Index> in the <theGeomPnts>.
Parameters:Index (int) –
Return type:gp_Pnt2d
GeomVec()
  • Returns the vector of index <Index> in the <theGeomVecs>.
Parameters:Index (int) –
Return type:gp_Vec2d
InitItems()
  • InitItems cuts the line in Items. this Items are the geometrics representations of the BasicElts from MAT.
Parameters:aCircuit (Handle_MAT2d_Circuit &) –
Return type:None
IntersectBisector()
  • Computes the point of intersection between the bisectors defined by <bisectorone> and <bisectortwo> . If this point exists, <intpnt> is its index in <theGeomPnts> and Return the distance of the point from the bisector else Return <RealLast>.
Parameters:
  • bisectorone (Handle_MAT_Bisector &) –
  • bisectortwo (Handle_MAT_Bisector &) –
  • intpnt (int &) –
Return type:

float

NumberOfItems()
  • Returns the Number of Items .
Return type:int
Sense()
  • <aSide> defines the side of the computation of the map.
Parameters:aside (MAT_Side) –
Return type:None
SetJoinType()
Parameters:aJoinType (GeomAbs_JoinType) –
Return type:None
Tangent()
  • Creates the Tangent at the end of the bisector defined by <bisector>. Returns the index of this vector in <theGeomVecs>
Parameters:bisector (int) –
Return type:int
TangentAfter()
  • Creates the Reversed Tangent at the origin of the Item defined by <anitem>. Returns the index of this vector in <theGeomVecs>
Parameters:
  • anitem (int) –
  • IsOpenResult (bool) –
Return type:

int

TangentBefore()
  • Creates the Tangent at the end of the Item defined by <anitem>. Returns the index of this vector in <theGeomVecs>
Parameters:
  • anitem (int) –
  • IsOpenResult (bool) –
Return type:

int

ToleranceOfConfusion()
  • Returns tolerance to test the confusion of two points.
Return type:float
TrimBisector()
  • Trims the geometric bisector by the <firstparameter> of <abisector>. If the parameter is out of the bisector, Return False. else Return True.
Parameters:abisector (Handle_MAT_Bisector &) –
Return type:bool
  • Trims the geometric bisector by the point of index <apoint> in <theGeomPnts>. If the point is out of the bisector, Return False. else Return True.
Parameters:
  • abisector (Handle_MAT_Bisector &) –
  • apoint (int) –
Return type:

bool

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