OCC.MAT2d module

class OCC.MAT2d.Handle_MAT2d_Circuit(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_Connexion(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_DataMapNodeOfDataMapOfBiIntInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_DataMapNodeOfDataMapOfBiIntSequenceOfInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_DataMapNodeOfDataMapOfIntegerBisec(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_DataMapNodeOfDataMapOfIntegerConnexion(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_DataMapNodeOfDataMapOfIntegerVec2d(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_SequenceNodeOfSequenceOfConnexion(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_SequenceNodeOfSequenceOfSequenceOfCurve(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.MAT2d.Handle_MAT2d_SequenceNodeOfSequenceOfSequenceOfGeometry(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.MAT2d.MAT2d_Array2OfConnexion(*args)

Bases: object

Assign()
Parameters:Other (MAT2d_Array2OfConnexion &) –
Return type:MAT2d_Array2OfConnexion
ChangeValue()
Parameters:
  • Row (Standard_Integer) –
  • Col (Standard_Integer) –
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 (Standard_Integer) –
  • Col (Standard_Integer) –
  • Value (Handle_MAT2d_Connexion &) –
Return type:

None

UpperCol()
Return type:int
UpperRow()
Return type:int
Value()
Parameters:
  • Row (Standard_Integer) –
  • Col (Standard_Integer) –
Return type:

Handle_MAT2d_Connexion

thisown

The membership flag

class OCC.MAT2d.MAT2d_BiInt(*args)

Bases: object

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

The membership flag

class OCC.MAT2d.MAT2d_Circuit

Bases: OCC.MMgt.MMgt_TShared

Connexion()
  • Returns the Connexion on the item <Index> in me.
Parameters:Index (Standard_Integer) –
Return type:Handle_MAT2d_Connexion
ConnexionOn()
  • Returns <True> is there is a connexion on the item <Index> in <self>.
Parameters:Index (Standard_Integer) –
Return type:bool
GetHandle()

MAT2d_Circuit_GetHandle(MAT2d_Circuit self) -> Handle_MAT2d_Circuit

LineLength()
  • Returns the number of items on the line <IndexLine>.
Parameters:IndexLine (Standard_Integer) –
Return type:int
NumberOfItems()
  • Returns the Number of Items .
Return type:int
Perform()
Parameters:
  • aFigure (MAT2d_SequenceOfSequenceOfGeometry &) –
  • IsClosed (TColStd_SequenceOfBoolean &) –
  • IndRefLine (Standard_Integer) –
  • 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 (Standard_Integer) –
  • IndCurve (Standard_Integer) –
Return type:

TColStd_SequenceOfInteger

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

The membership flag

class OCC.MAT2d.MAT2d_Connexion(*args)

Bases: OCC.MMgt.MMgt_TShared

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

None

  • Print <self>.
Parameters:
  • Deep (Standard_Integer) – default value is 0
  • Offset (Standard_Integer) – default value is 0
Return type:

None

  • Print <self>.
Parameters:
  • Deep (Standard_Integer) – default value is 0
  • Offset (Standard_Integer) – default value is 0
Return type:

None

GetHandle()

MAT2d_Connexion_GetHandle(MAT2d_Connexion self) -> Handle_MAT2d_Connexion

IndexFirstLine()
  • Returns the Index on the first line.
Return type:int
Parameters:anIndex (Standard_Integer) –
Return type:None
IndexItemOnFirst()
  • Returns the Index of the item on the first line.
Return type:int
Parameters:anIndex (Standard_Integer) –
Return type:None
IndexItemOnSecond()
  • Returns the Index of the item on the second line.
Return type:int
Parameters:anIndex (Standard_Integer) –
Return type:None
IndexSecondLine()
  • Returns the Index on the Second line.
Return type:int
Parameters:anIndex (Standard_Integer) –
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 OCC.MAT2d.MAT2d_DataMapIteratorOfDataMapOfBiIntInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapIteratorOfDataMapOfBiIntSequenceOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapIteratorOfDataMapOfIntegerBisec(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapIteratorOfDataMapOfIntegerConnexion(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapIteratorOfDataMapOfIntegerPnt2d(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapIteratorOfDataMapOfIntegerSequenceOfConnexion(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapIteratorOfDataMapOfIntegerVec2d(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapNodeOfDataMapOfBiIntInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

MAT2d_DataMapNodeOfDataMapOfBiIntInteger_GetHandle(MAT2d_DataMapNodeOfDataMapOfBiIntInteger self) -> Handle_MAT2d_DataMapNodeOfDataMapOfBiIntInteger

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 OCC.MAT2d.MAT2d_DataMapNodeOfDataMapOfBiIntSequenceOfInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

MAT2d_DataMapNodeOfDataMapOfBiIntSequenceOfInteger_GetHandle(MAT2d_DataMapNodeOfDataMapOfBiIntSequenceOfInteger self) -> Handle_MAT2d_DataMapNodeOfDataMapOfBiIntSequenceOfInteger

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapNodeOfDataMapOfIntegerBisec(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

MAT2d_DataMapNodeOfDataMapOfIntegerBisec_GetHandle(MAT2d_DataMapNodeOfDataMapOfIntegerBisec self) -> Handle_MAT2d_DataMapNodeOfDataMapOfIntegerBisec

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 OCC.MAT2d.MAT2d_DataMapNodeOfDataMapOfIntegerConnexion(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

MAT2d_DataMapNodeOfDataMapOfIntegerConnexion_GetHandle(MAT2d_DataMapNodeOfDataMapOfIntegerConnexion self) -> Handle_MAT2d_DataMapNodeOfDataMapOfIntegerConnexion

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 OCC.MAT2d.MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d_GetHandle(MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d self) -> Handle_MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d

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 OCC.MAT2d.MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion_GetHandle(MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion self) -> Handle_MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion

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 OCC.MAT2d.MAT2d_DataMapNodeOfDataMapOfIntegerVec2d(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

MAT2d_DataMapNodeOfDataMapOfIntegerVec2d_GetHandle(MAT2d_DataMapNodeOfDataMapOfIntegerVec2d self) -> Handle_MAT2d_DataMapNodeOfDataMapOfIntegerVec2d

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 OCC.MAT2d.MAT2d_DataMapOfBiIntInteger(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (MAT2d_DataMapOfBiIntInteger &) –
Return type:MAT2d_DataMapOfBiIntInteger
Bind()
Parameters:
  • K (MAT2d_BiInt &) –
  • I (Standard_Integer &) –
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 (Standard_Integer) –
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 OCC.MAT2d.MAT2d_DataMapOfBiIntSequenceOfInteger(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (MAT2d_DataMapOfIntegerBisec &) –
Return type:MAT2d_DataMapOfIntegerBisec
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (Bisector_Bisec &) –
Return type:

bool

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapOfIntegerConnexion(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (MAT2d_DataMapOfIntegerConnexion &) –
Return type:MAT2d_DataMapOfIntegerConnexion
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (Handle_MAT2d_Connexion &) –
Return type:

bool

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapOfIntegerPnt2d(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (MAT2d_DataMapOfIntegerPnt2d &) –
Return type:MAT2d_DataMapOfIntegerPnt2d
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (gp_Pnt2d) –
Return type:

bool

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapOfIntegerSequenceOfConnexion(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (MAT2d_DataMapOfIntegerSequenceOfConnexion &) –
Return type:MAT2d_DataMapOfIntegerSequenceOfConnexion
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (MAT2d_SequenceOfConnexion &) –
Return type:

bool

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

The membership flag

class OCC.MAT2d.MAT2d_DataMapOfIntegerVec2d(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (MAT2d_DataMapOfIntegerVec2d &) –
Return type:MAT2d_DataMapOfIntegerVec2d
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (gp_Vec2d) –
Return type:

bool

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

The membership flag

class OCC.MAT2d.MAT2d_MapBiIntHasher(*args, **kwargs)

Bases: object

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

int

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

bool

thisown

The membership flag

OCC.MAT2d.MAT2d_MapBiIntHasher_HashCode(*args)
Parameters:
  • Key1 (MAT2d_BiInt &) –
  • Upper (Standard_Integer) –
Return type:

int

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

bool

class OCC.MAT2d.MAT2d_Mat2d

Bases: object

CreateMat()
Parameters:aTool (MAT2d_Tool2d &) –
Return type:None
Init()
Return type:None
IsDone()
Return type:bool
More()
Return type:bool
Next()
Return type:None
NumberOfBisectors()
Return type:int
SemiInfinite()
Return type:bool
bisector()
Return type:Handle_MAT_Bisector
thisown

The membership flag

class OCC.MAT2d.MAT2d_MiniPath

Bases: object

ConnexionsFrom()
  • Returns the connexions which start on line designed by <Index>.
Parameters:Index (Standard_Integer) –
Return type:MAT2d_SequenceOfConnexion
Father()
  • Returns the connexion which ends on line designed by <Index>.
Parameters:Index (Standard_Integer) –
Return type:Handle_MAT2d_Connexion
IsConnexionsFrom()
  • Returns <True> if there is one Connexion which starts on line designed by <Index>.
Parameters:Index (Standard_Integer) –
Return type:bool
IsRoot()
  • Returns <True> if the line designed by <Index> is the root.
Parameters:Index (Standard_Integer) –
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 (Standard_Integer) –
  • 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 OCC.MAT2d.MAT2d_SequenceNodeOfSequenceOfConnexion(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

MAT2d_SequenceNodeOfSequenceOfConnexion_GetHandle(MAT2d_SequenceNodeOfSequenceOfConnexion self) -> Handle_MAT2d_SequenceNodeOfSequenceOfConnexion

Value()
Return type:Handle_MAT2d_Connexion
thisown

The membership flag

class OCC.MAT2d.MAT2d_SequenceNodeOfSequenceOfSequenceOfCurve(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

MAT2d_SequenceNodeOfSequenceOfSequenceOfCurve_GetHandle(MAT2d_SequenceNodeOfSequenceOfSequenceOfCurve self) -> Handle_MAT2d_SequenceNodeOfSequenceOfSequenceOfCurve

Value()
Return type:TColGeom2d_SequenceOfCurve
thisown

The membership flag

class OCC.MAT2d.MAT2d_SequenceNodeOfSequenceOfSequenceOfGeometry(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

MAT2d_SequenceNodeOfSequenceOfSequenceOfGeometry_GetHandle(MAT2d_SequenceNodeOfSequenceOfSequenceOfGeometry self) -> Handle_MAT2d_SequenceNodeOfSequenceOfSequenceOfGeometry

Value()
Return type:TColGeom2d_SequenceOfGeometry
thisown

The membership flag

class OCC.MAT2d.MAT2d_SequenceOfConnexion

Bases: OCC.TCollection.TCollection_BaseSequence

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 (Standard_Integer) –
Return type:Handle_MAT2d_Connexion
Clear()
Return type:None
First()
Return type:Handle_MAT2d_Connexion
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_MAT2d_Connexion &) –
  • Index
  • S (MAT2d_SequenceOfConnexion &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • 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 (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.MAT2d.MAT2d_SequenceOfSequenceOfCurve

Bases: OCC.TCollection.TCollection_BaseSequence

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 (Standard_Integer) –
Return type:TColGeom2d_SequenceOfCurve
Clear()
Return type:None
First()
Return type:TColGeom2d_SequenceOfCurve
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (TColGeom2d_SequenceOfCurve &) –
  • Index
  • S (MAT2d_SequenceOfSequenceOfCurve &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • 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 (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.MAT2d.MAT2d_SequenceOfSequenceOfGeometry

Bases: OCC.TCollection.TCollection_BaseSequence

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 (Standard_Integer) –
Return type:TColGeom2d_SequenceOfGeometry
Clear()
Return type:None
First()
Return type:TColGeom2d_SequenceOfGeometry
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (TColGeom2d_SequenceOfGeometry &) –
  • Index
  • S (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • 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 (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.MAT2d.MAT2d_Tool2d

Bases: object

BisecFusion()
Parameters:
  • Index1 (Standard_Integer) –
  • Index2 (Standard_Integer) –
Return type:

None

ChangeGeomBis()
  • Returns the <Bisec> of index <Index> in <theGeomBisectors>.
Parameters:Index (Standard_Integer) –
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 (Standard_Integer) –
  • erease (Standard_Integer) –
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 (Standard_Integer) –
  • dist (float &) –
Return type:

int

GeomBis()
  • Returns the <Bisec> of index <Index> in <theGeomBisectors>.
Parameters:Index (Standard_Integer) –
Return type:Bisector_Bisec
GeomElt()
  • Returns the Geometry of index <Index> in <theGeomElts>.
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Geometry
GeomPnt()
  • Returns the point of index <Index> in the <theGeomPnts>.
Parameters:Index (Standard_Integer) –
Return type:gp_Pnt2d
GeomVec()
  • Returns the vector of index <Index> in the <theGeomVecs>.
Parameters:Index (Standard_Integer) –
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 (Standard_Integer &) –
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
Tangent()
  • Creates the Tangent at the end of the bisector defined by <bisector>. Returns the index of this vector in <theGeomVecs>
Parameters:bisector (Standard_Integer) –
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 (Standard_Integer) –
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 (Standard_Integer) –
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 (Standard_Integer) –
Return type:

bool

thisown

The membership flag

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

Bases: object

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

The membership flag

value()