OCC.MAT2d module¶
-Purpose : Package of computation of Bisector locus on aSet of geometrys from Geom2d.
-
class
Handle_MAT2d_Circuit
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_Connexion
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_DataMapNodeOfDataMapOfBiIntInteger
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_DataMapNodeOfDataMapOfBiIntSequenceOfInteger
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_DataMapNodeOfDataMapOfIntegerBisec
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_DataMapNodeOfDataMapOfIntegerConnexion
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_DataMapNodeOfDataMapOfIntegerVec2d
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_SequenceNodeOfSequenceOfConnexion
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_SequenceNodeOfSequenceOfSequenceOfCurve
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MAT2d_SequenceNodeOfSequenceOfSequenceOfGeometry
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
MAT2d_Array2OfConnexion
(*args)¶ Bases:
object
Parameters: Return type: Return type: -
Assign
()¶ Parameters: Other (MAT2d_Array2OfConnexion &) – Return type: MAT2d_Array2OfConnexion
-
ChangeValue
()¶ Parameters: Return type:
-
Set
()¶ Parameters: Other (MAT2d_Array2OfConnexion &) – Return type: MAT2d_Array2OfConnexion
-
Value
()¶ Parameters: Return type:
-
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: -
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
-
Perform
()¶ Parameters: Return type:
-
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: Return type:
-
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: Parameters: Return type: -
Distance
()¶ - Returns the distance between the two points.
Return type: float Parameters: aDistance (float) – Return type: None
-
Dump
()¶ - Print <self>.
Parameters: Return type:
-
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:
-
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 -
Key
()¶ Return type: MAT2d_BiInt
-
thisown
¶ The membership flag
-
-
class
MAT2d_DataMapIteratorOfDataMapOfBiIntSequenceOfInteger
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None 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 -
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 -
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 -
thisown
¶ The membership flag
-
-
class
MAT2d_DataMapIteratorOfDataMapOfIntegerSequenceOfConnexion
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (MAT2d_DataMapOfIntegerSequenceOfConnexion &) – Return type: None -
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 -
thisown
¶ The membership flag
-
-
class
MAT2d_DataMapNodeOfDataMapOfBiIntInteger
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (MAT2d_BiInt &) –
- I (int &) –
- n (TCollection_MapNodePtr &) –
Return type: -
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: -
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: -
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: -
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: -
GetHandle
()¶
-
GetKey
()¶ MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d_GetKey(MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d self) -> Standard_Integer
-
SetKey
()¶ MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d_SetKey(MAT2d_DataMapNodeOfDataMapOfIntegerPnt2d self, Standard_Integer value)
-
thisown
¶ The membership flag
-
class
MAT2d_DataMapNodeOfDataMapOfIntegerSequenceOfConnexion
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (int &) –
- I (MAT2d_SequenceOfConnexion &) –
- n (TCollection_MapNodePtr &) –
Return type: -
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: -
GetHandle
()¶
-
GetKey
()¶ MAT2d_DataMapNodeOfDataMapOfIntegerVec2d_GetKey(MAT2d_DataMapNodeOfDataMapOfIntegerVec2d self) -> Standard_Integer
-
SetKey
()¶ MAT2d_DataMapNodeOfDataMapOfIntegerVec2d_SetKey(MAT2d_DataMapNodeOfDataMapOfIntegerVec2d self, Standard_Integer value)
-
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
-
ChangeFind1
()¶ Parameters: K (MAT2d_BiInt &) – Return type: Standard_Address
-
Find1
()¶ Parameters: K (MAT2d_BiInt &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MAT2d_DataMapOfBiIntInteger &) – Return type: MAT2d_DataMapOfBiIntInteger
-
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
-
ChangeFind
()¶ Parameters: K (MAT2d_BiInt &) – Return type: TColStd_SequenceOfInteger
-
ChangeFind1
()¶ Parameters: K (MAT2d_BiInt &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (MAT2d_BiInt &) – Return type: TColStd_SequenceOfInteger
-
Find1
()¶ Parameters: K (MAT2d_BiInt &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MAT2d_DataMapOfBiIntSequenceOfInteger &) – Return type: MAT2d_DataMapOfBiIntSequenceOfInteger
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: Bisector_Bisec
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: Bisector_Bisec
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MAT2d_DataMapOfIntegerBisec &) – Return type: MAT2d_DataMapOfIntegerBisec
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: Handle_MAT2d_Connexion
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: Handle_MAT2d_Connexion
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MAT2d_DataMapOfIntegerConnexion &) – Return type: MAT2d_DataMapOfIntegerConnexion
-
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
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MAT2d_DataMapOfIntegerPnt2d &) – Return type: MAT2d_DataMapOfIntegerPnt2d
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: MAT2d_SequenceOfConnexion
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: MAT2d_SequenceOfConnexion
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MAT2d_DataMapOfIntegerSequenceOfConnexion &) – Return type: MAT2d_DataMapOfIntegerSequenceOfConnexion
-
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
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MAT2d_DataMapOfIntegerVec2d &) – Return type: MAT2d_DataMapOfIntegerVec2d
-
thisown
¶ The membership flag
-
-
MAT2d_MapBiIntHasher_IsEqual
()¶ Parameters: - Key1 (MAT2d_BiInt &) –
- Key2 (MAT2d_BiInt &) –
Return type:
-
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
-
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: Return type:
-
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: -
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: -
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: -
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: Return type:
-
Assign
()¶ Parameters: Other (MAT2d_SequenceOfConnexion &) – Return type: MAT2d_SequenceOfConnexion
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Handle_MAT2d_Connexion
-
First
()¶ Return type: Handle_MAT2d_Connexion
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Handle_MAT2d_Connexion &) –
- Index –
- S (MAT2d_SequenceOfConnexion &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Handle_MAT2d_Connexion &) –
- Index –
- S (MAT2d_SequenceOfConnexion &) –
Return type: Return type:
-
Last
()¶ Return type: Handle_MAT2d_Connexion
-
Prepend
()¶ Parameters: - T (Handle_MAT2d_Connexion &) –
- S (MAT2d_SequenceOfConnexion &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (MAT2d_SequenceOfConnexion &) – Return type: MAT2d_SequenceOfConnexion
-
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: Return type:
-
Assign
()¶ Parameters: Other (MAT2d_SequenceOfSequenceOfCurve &) – Return type: MAT2d_SequenceOfSequenceOfCurve
-
ChangeValue
()¶ Parameters: Index (int) – Return type: TColGeom2d_SequenceOfCurve
-
First
()¶ Return type: TColGeom2d_SequenceOfCurve
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (TColGeom2d_SequenceOfCurve &) –
- Index –
- S (MAT2d_SequenceOfSequenceOfCurve &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (TColGeom2d_SequenceOfCurve &) –
- Index –
- S (MAT2d_SequenceOfSequenceOfCurve &) –
Return type: Return type:
-
Last
()¶ Return type: TColGeom2d_SequenceOfCurve
-
Prepend
()¶ Parameters: - T (TColGeom2d_SequenceOfCurve &) –
- S (MAT2d_SequenceOfSequenceOfCurve &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (MAT2d_SequenceOfSequenceOfCurve &) – Return type: MAT2d_SequenceOfSequenceOfCurve
-
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: Return type:
-
Assign
()¶ Parameters: Other (MAT2d_SequenceOfSequenceOfGeometry &) – Return type: MAT2d_SequenceOfSequenceOfGeometry
-
ChangeValue
()¶ Parameters: Index (int) – Return type: TColGeom2d_SequenceOfGeometry
-
First
()¶ Return type: TColGeom2d_SequenceOfGeometry
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (TColGeom2d_SequenceOfGeometry &) –
- Index –
- S (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (TColGeom2d_SequenceOfGeometry &) –
- Index –
- S (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type: Return type:
-
Last
()¶ Return type: TColGeom2d_SequenceOfGeometry
-
Prepend
()¶ Parameters: - T (TColGeom2d_SequenceOfGeometry &) –
- S (MAT2d_SequenceOfSequenceOfGeometry &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (MAT2d_SequenceOfSequenceOfGeometry &) – Return type: MAT2d_SequenceOfSequenceOfGeometry
-
Value
()¶ Parameters: Index (int) – Return type: TColGeom2d_SequenceOfGeometry
-
thisown
¶ The membership flag
-
-
class
MAT2d_Tool2d
(*args)¶ Bases:
object
- Empty Constructor.
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: Return type:
-
Dump
()¶ - displays informations about the bisector defined by <bisector>.
Parameters: Return type:
-
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:
-
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:
-
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 (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: Return type:
-
TangentBefore
()¶ - Creates the Tangent at the end of the Item defined by <anitem>. Returns the index of this vector in <theGeomVecs>
Parameters: Return type:
-
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:
-
thisown
¶ The membership flag
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases