OCC.Core.BRepMAT2d module¶
BRepMAT2d module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmat2d.html
-
class
BRepMAT2d_BisectingLocus
(*args)¶ Bases:
object
- Return type
-
BasicElt
()¶ - Returns the BasicElts located at the position <Index> on the contour designed by <IndLine>. Remark: the BasicElts on a contour are sorted.
- param IndLine
- type IndLine
int
- param Index
- type Index
int
- rtype
opencascade::handle<MAT_BasicElt>
-
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>.
- param anExplo
- type anExplo
BRepMAT2d_Explorer
- param LineIndex
default value is 1
- type LineIndex
int
- param aSide
default value is MAT_Left
- type aSide
MAT_Side
- param aJoinType
default value is GeomAbs_Arc
- type aJoinType
GeomAbs_JoinType
- param IsOpenResult
default value is Standard_False
- type IsOpenResult
bool
- rtype
None
-
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.
- param anArc
- type anArc
MAT_Arc
- param Reverse
- type Reverse
bool
- rtype
Bisector_Bisec
-
GeomElt
()¶ - Returns the geometry linked to the <BasicElt>.
- param aBasicElt
- type aBasicElt
MAT_BasicElt
- rtype
opencascade::handle<Geom2d_Geometry>* Returns the geometry of type <gp> linked to the <Node>.
- param aNode
- type aNode
MAT_Node
- rtype
gp_Pnt2d
-
Graph
()¶ - Returns <theGraph> of <self>.
- rtype
opencascade::handle<MAT_Graph>
-
IsDone
()¶ - Returns True if Compute has succeeded.
- rtype
bool
-
NumberOfContours
()¶ - Returns the number of contours.
- rtype
int
-
NumberOfElts
()¶ - Returns the number of BasicElts on the line <IndLine>.
- param IndLine
- type IndLine
int
- rtype
int
-
NumberOfSections
()¶ - Returns the number of sections of a curve. this curve is the Indexth curve in the IndLineth contour given by anExplo.
- param IndLine
- type IndLine
int
- param Index
- type Index
int
- rtype
int
-
property
thisown
¶ The membership flag
-
class
BRepMAT2d_DataMapOfBasicEltShape
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BRepMAT2d_DataMapOfShapeSequenceOfBasicElt
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BRepMAT2d_Explorer
(*args)¶ Bases:
object
- Return type
None:param aFace: :type aFace: TopoDS_Face :rtype: None
-
Clear
()¶ - Clear the contents of <self>.
- rtype
None
-
Contour
()¶ - Parameters
IndexContour –
- type IndexContour
int
- rtype
TColGeom2d_SequenceOfCurve
-
GetIsClosed
()¶ - Return type
-
Init
()¶ - Initialisation of an Iterator on the curves of the Contour number <IndexContour>.
- param IndexContour
- type IndexContour
int
- rtype
None
-
IsModified
()¶ - Parameters
aShape –
- type aShape
TopoDS_Shape
- rtype
bool
-
ModifiedShape
()¶ - If the shape is not modified, returns the shape itself.
- param aShape
- type aShape
TopoDS_Shape
- rtype
TopoDS_Shape
-
More
()¶ - Return False if there is no more curves on the Contour initialised by the method Init.
- rtype
bool
-
Next
()¶ - Move to the next curve of the current Contour.
- rtype
None
-
NumberOfContours
()¶ - Returns the Number of contours.
- rtype
int
-
NumberOfCurves
()¶ - Returns the Number of Curves in the Contour number <IndexContour>.
- param IndexContour
- type IndexContour
int
- rtype
int
-
Perform
()¶ - Parameters
aFace –
- type aFace
TopoDS_Face
- rtype
None
-
Shape
()¶ - Return type
-
Value
()¶ - Returns the current curve on the current Contour.
- rtype
opencascade::handle<Geom2d_Curve>
-
property
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. :param Explo: :type Explo: BRepMAT2d_Explorer :param BiLo: :type BiLo: BRepMAT2d_BisectingLocus :rtype: None
-
GeneratingShape
()¶ - Returns the Shape linked to <aBE>.
- param aBE
- type aBE
MAT_BasicElt
- rtype
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.
- param S
- type S
TopoDS_Shape
- rtype
None
-
More
()¶ - Returns True if there is a current BasicElt.
- rtype
bool
-
Next
()¶ - Proceed to the next BasicElt.
- rtype
None
-
Perform
()¶ - Constructs the links Between S and BiLo. //! raises if <S> is not a face or a wire.
- param Explo
- type Explo
BRepMAT2d_Explorer
- param BiLo
- type BiLo
BRepMAT2d_BisectingLocus
- rtype
None
-
Value
()¶ - Returns the current BasicElt.
- rtype
opencascade::handle<MAT_BasicElt>
-
property
thisown
¶ The membership flag