OCC.BRepMAT2d module¶
-
class
BRepMAT2d_BisectingLocus
(*args)¶ Bases:
object
Return type: None -
BasicElt
()¶ - Returns the BasicElts located at the position <Index> on the contour designed by <IndLine>. Remark: the BasicElts on a contour are sorted.
Parameters: Return type:
-
Compute
()¶ - Computation of the Bisector_Locus in a set of Lines defined in <anExplo>. The bisecting locus are computed on the side <aSide> from the line <LineIndex> in <anExplo>.
Parameters: Return type:
-
GeomBis
()¶ - Returns the geometry of type <Bissec> linked to the arc <ARC>. <Reverse> is False when the FirstNode of <anArc> correspond to the first point of geometry.
Parameters: - anArc (Handle_MAT_Arc &) –
- Reverse (bool) –
Return type:
-
GeomElt
()¶ - Returns the geometry linked to the <BasicElt>.
Parameters: aBasicElt (Handle_MAT_BasicElt &) – Return type: Handle_Geom2d_Geometry - Returns the geometry of type <gp> linked to the <Node>.
Parameters: aNode (Handle_MAT_Node &) – Return type: gp_Pnt2d
-
Graph
()¶ - Returns <theGraph> of <self>.
Return type: Handle_MAT_Graph
-
NumberOfElts
()¶ - Returns the number of BasicElts on the line <IndLine>.
Parameters: IndLine (int) – Return type: int
-
NumberOfSections
()¶ - Returns the number of sections of a curve. this curve is the Indexth curve in the IndLineth contour given by anExplo.
Parameters: Return type:
-
thisown
¶ The membership flag
-
-
class
BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (BRepMAT2d_DataMapOfBasicEltShape &) – Return type: None -
Key
()¶ Return type: Handle_MAT_BasicElt
-
Value
()¶ Return type: TopoDS_Shape
-
thisown
¶ The membership flag
-
-
class
BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (BRepMAT2d_DataMapOfShapeSequenceOfBasicElt &) – Return type: None -
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: MAT_SequenceOfBasicElt
-
thisown
¶ The membership flag
-
-
class
BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (Handle_MAT_BasicElt &) –
- I (TopoDS_Shape &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: Handle_MAT_BasicElt
-
Value
()¶ Return type: TopoDS_Shape
-
thisown
¶ The membership flag
-
class
BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (TopoDS_Shape &) –
- I (MAT_SequenceOfBasicElt &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: MAT_SequenceOfBasicElt
-
thisown
¶ The membership flag
-
class
BRepMAT2d_DataMapOfBasicEltShape
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (BRepMAT2d_DataMapOfBasicEltShape &) – Return type: BRepMAT2d_DataMapOfBasicEltShape
-
ChangeFind
()¶ Parameters: K (Handle_MAT_BasicElt &) – Return type: TopoDS_Shape
-
ChangeFind1
()¶ Parameters: K (Handle_MAT_BasicElt &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (Handle_MAT_BasicElt &) – Return type: TopoDS_Shape
-
Find1
()¶ Parameters: K (Handle_MAT_BasicElt &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepMAT2d_DataMapOfBasicEltShape &) – Return type: BRepMAT2d_DataMapOfBasicEltShape
-
thisown
¶ The membership flag
-
-
class
BRepMAT2d_DataMapOfShapeSequenceOfBasicElt
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (BRepMAT2d_DataMapOfShapeSequenceOfBasicElt &) – Return type: BRepMAT2d_DataMapOfShapeSequenceOfBasicElt
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: MAT_SequenceOfBasicElt
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: MAT_SequenceOfBasicElt
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepMAT2d_DataMapOfShapeSequenceOfBasicElt &) – Return type: BRepMAT2d_DataMapOfShapeSequenceOfBasicElt
-
thisown
¶ The membership flag
-
-
class
BRepMAT2d_Explorer
(*args)¶ Bases:
object
Return type: None Parameters: aFace (TopoDS_Face &) – Return type: None -
Contour
()¶ Parameters: IndexContour (int) – Return type: TColGeom2d_SequenceOfCurve
-
GetIsClosed
()¶ Return type: TColStd_SequenceOfBoolean
-
Init
()¶ - Initialisation of an Iterator on the curves of the Contour number <IndexContour>.
Parameters: IndexContour (int) – Return type: None
-
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
-
NumberOfCurves
()¶ - Returns the Number of Curves in the Contour number <IndexContour>.
Parameters: IndexContour (int) – Return type: int
-
Shape
()¶ Return type: TopoDS_Shape
-
Value
()¶ - Returns the current curve on the current Contour.
Return type: Handle_Geom2d_Curve
-
thisown
¶ The membership flag
-
-
class
BRepMAT2d_LinkTopoBilo
(*args)¶ Bases:
object
Return type: None - Constructs the links Between S and BiLo. //! raises if <S> is not a face.
Parameters: - Explo (BRepMAT2d_Explorer &) –
- BiLo (BRepMAT2d_BisectingLocus &) –
Return type: -
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
-
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:
-
Value
()¶ - Returns the current BasicElt.
Return type: Handle_MAT_BasicElt
-
thisown
¶ The membership flag
-
class
Handle_BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
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