OCC.BRepMesh module

class OCC.BRepMesh.BRepMesh_Array1OfBiPoint(*args)

Bases: object

Assign()
Parameters:Other (BRepMesh_Array1OfBiPoint &) –
Return type:BRepMesh_Array1OfBiPoint
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_BiPoint
Destroy()
Return type:None
Init()
Parameters:V (BRepMesh_BiPoint &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (BRepMesh_Array1OfBiPoint &) –
Return type:BRepMesh_Array1OfBiPoint
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (BRepMesh_BiPoint &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_BiPoint
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_Array1OfVertexOfDelaun(*args)

Bases: object

Assign()
Parameters:Other (BRepMesh_Array1OfVertexOfDelaun &) –
Return type:BRepMesh_Array1OfVertexOfDelaun
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Vertex
Destroy()
Return type:None
Init()
Parameters:V (BRepMesh_Vertex &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (BRepMesh_Array1OfVertexOfDelaun &) –
Return type:BRepMesh_Array1OfVertexOfDelaun
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (BRepMesh_Vertex &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Vertex
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_BiPoint(*args)

Bases: object

Coordinates()
Return type:Standard_Address
Indices()
Return type:Standard_Address
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_Circ(*args)

Bases: object

Location()
Return type:gp_XY
Radius()
Return type:float
SetLocation()
Parameters:loc (gp_XY) –
Return type:None
SetRadius()
Parameters:rad (float) –
Return type:None
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_CircleInspector(*args)

Bases: object

Add()
Parameters:
  • theInd (Standard_Integer) –
  • theCircle (BRepMesh_Circ &) –
Return type:

None

ClerResList()
Return type:None
GetCirc()
Parameters:theInd (Standard_Integer) –
Return type:BRepMesh_Circ
GetCoincidentInd()
  • //!Get result index of node
Return type:BRepMesh_ListOfInteger
Inspect()
  • Implementation of inspection method
Parameters:theTarget (Standard_Integer) –
Return type:NCollection_CellFilter_Action
static IsEqual(*args)
Parameters:
  • theIdx (Standard_Integer) –
  • theTarget (Standard_Integer) –
Return type:

bool

MapOfCirc()
Return type:CircVector
SetCurrent()
  • Set current node to be checked
Parameters:theCurCircle (gp_XY) –
Return type:None
thisown

The membership flag

OCC.BRepMesh.BRepMesh_CircleInspector_IsEqual(*args)
Parameters:
  • theIdx (Standard_Integer) –
  • theTarget (Standard_Integer) –
Return type:

bool

class OCC.BRepMesh.BRepMesh_CircleTool(*args)

Bases: object

Add()
  • Adds and binds circle to the tool.
Parameters:
  • theCirc (gp_Circ2d) –
  • theIndex (Standard_Integer) –
Return type:

None

  • Computes adds and binds circle to the tool.
Parameters:
  • p1 (gp_XY) –
  • p2 (gp_XY) –
  • p3 (gp_XY) –
  • theIndex (Standard_Integer) –
Return type:

bool

Delete()
  • Deletes a circle from the tool.
Parameters:theIndex (Standard_Integer) –
Return type:None
Initialize()
  • Constructs a CircleTool with the maximal dimension of the occuped space and an evaluation of the number of circles.
Parameters:numberOfComponents (Standard_Integer) –
Return type:None
MocAdd()
  • Adds implicit zero circle
Parameters:theIndex (Standard_Integer) –
Return type:None
Select()
  • Select the circles which contains thePnt.
Parameters:thePnt (gp_XY) –
Return type:BRepMesh_ListOfInteger
SetCellSize()
  • Sets new size for cellfilter
Parameters:theSize (float) –
Return type:None
  • Sets new size for cellfilter
Parameters:
  • theXSize (float) –
  • theYSize (float) –
Return type:

None

SetMinMaxSize()
  • Sets min and max size for circle
Parameters:
  • theMin (gp_XY) –
  • theMax (gp_XY) –
Return type:

None

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_Classifier(*args)

Bases: object

Destroy()
Return type:None
Perform()
Parameters:thePoint (gp_Pnt2d) –
Return type:TopAbs_State
State()
Return type:BRepMesh_Status
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ComparatorOfIndexedVertexOfDelaun(*args)

Bases: object

IsEqual()
  • returns True when <Right> and <Left> are equal.
Parameters:
  • Left (Standard_Integer) –
  • Right (Standard_Integer) –
Return type:

bool

IsGreater()
  • returns True if <Left> is greater than <Right>
Parameters:
  • Left (Standard_Integer) –
  • Right (Standard_Integer) –
Return type:

bool

IsLower()
  • returns True if <Left> is lower than <Right>
Parameters:
  • Left (Standard_Integer) –
  • Right (Standard_Integer) –
Return type:

bool

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ComparatorOfVertexOfDelaun(*args)

Bases: object

IsEqual()
  • returns True when <Right> and <Left> are equal.
Parameters:
  • Left (BRepMesh_Vertex &) –
  • Right (BRepMesh_Vertex &) –
Return type:

bool

IsGreater()
  • returns True if <Left> is greater than <Right>
Parameters:
  • Left (BRepMesh_Vertex &) –
  • Right (BRepMesh_Vertex &) –
Return type:

bool

IsLower()
  • returns True if <Left> is lower than <Right>
Parameters:
  • Left (BRepMesh_Vertex &) –
  • Right (BRepMesh_Vertex &) –
Return type:

bool

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapIteratorOfDataMapOfFaceAttribute(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMesh_DataMapOfFaceAttribute &) –
Return type:None
Key()
Return type:TopoDS_Face
Value()
Return type:Handle_BRepMesh_FaceAttribute
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapIteratorOfDataMapOfIntegerListOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMesh_DataMapOfIntegerListOfInteger &) –
Return type:None
Key()
Return type:int
Value()
Return type:BRepMesh_ListOfInteger
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapIteratorOfDataMapOfIntegerListOfXY(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMesh_DataMapOfIntegerListOfXY &) –
Return type:None
Key()
Return type:int
Value()
Return type:BRepMesh_ListOfXY
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapIteratorOfDataMapOfIntegerPnt(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMesh_DataMapOfIntegerPnt &) –
Return type:None
Key()
Return type:int
Value()
Return type:gp_Pnt
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapIteratorOfDataMapOfShapePairOfPolygon(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMesh_DataMapOfShapePairOfPolygon &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:BRepMesh_PairOfPolygon
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapIteratorOfDataMapOfShapeReal(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMesh_DataMapOfShapeReal &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:float
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapIteratorOfDataMapOfVertexInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepMesh_DataMapOfVertexInteger &) –
Return type:None
Key()
Return type:TopoDS_Vertex
Value()
Return type:int
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapNodeOfDataMapOfFaceAttribute(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_DataMapNodeOfDataMapOfFaceAttribute_GetHandle(BRepMesh_DataMapNodeOfDataMapOfFaceAttribute self) -> Handle_BRepMesh_DataMapNodeOfDataMapOfFaceAttribute

Key()
Return type:TopoDS_Face
Value()
Return type:Handle_BRepMesh_FaceAttribute
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger_GetHandle(BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger self) -> Handle_BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger

GetKey()

BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger_GetKey(BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger self) -> Standard_Integer

SetKey()

BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger_SetKey(BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger self, Standard_Integer value)

Value()
Return type:BRepMesh_ListOfInteger
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY_GetHandle(BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY self) -> Handle_BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY

GetKey()

BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY_GetKey(BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY self) -> Standard_Integer

SetKey()

BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY_SetKey(BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY self, Standard_Integer value)

Value()
Return type:BRepMesh_ListOfXY
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapNodeOfDataMapOfIntegerPnt(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_DataMapNodeOfDataMapOfIntegerPnt_GetHandle(BRepMesh_DataMapNodeOfDataMapOfIntegerPnt self) -> Handle_BRepMesh_DataMapNodeOfDataMapOfIntegerPnt

GetKey()

BRepMesh_DataMapNodeOfDataMapOfIntegerPnt_GetKey(BRepMesh_DataMapNodeOfDataMapOfIntegerPnt self) -> Standard_Integer

SetKey()

BRepMesh_DataMapNodeOfDataMapOfIntegerPnt_SetKey(BRepMesh_DataMapNodeOfDataMapOfIntegerPnt self, Standard_Integer value)

Value()
Return type:gp_Pnt
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapNodeOfDataMapOfShapePairOfPolygon(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_DataMapNodeOfDataMapOfShapePairOfPolygon_GetHandle(BRepMesh_DataMapNodeOfDataMapOfShapePairOfPolygon self) -> Handle_BRepMesh_DataMapNodeOfDataMapOfShapePairOfPolygon

Key()
Return type:TopoDS_Shape
Value()
Return type:BRepMesh_PairOfPolygon
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapNodeOfDataMapOfShapeReal(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_DataMapNodeOfDataMapOfShapeReal_GetHandle(BRepMesh_DataMapNodeOfDataMapOfShapeReal self) -> Handle_BRepMesh_DataMapNodeOfDataMapOfShapeReal

GetValue()

BRepMesh_DataMapNodeOfDataMapOfShapeReal_GetValue(BRepMesh_DataMapNodeOfDataMapOfShapeReal self) -> Standard_Real

Key()
Return type:TopoDS_Shape
SetValue()

BRepMesh_DataMapNodeOfDataMapOfShapeReal_SetValue(BRepMesh_DataMapNodeOfDataMapOfShapeReal self, Standard_Real value)

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapNodeOfDataMapOfVertexInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_DataMapNodeOfDataMapOfVertexInteger_GetHandle(BRepMesh_DataMapNodeOfDataMapOfVertexInteger self) -> Handle_BRepMesh_DataMapNodeOfDataMapOfVertexInteger

GetValue()

BRepMesh_DataMapNodeOfDataMapOfVertexInteger_GetValue(BRepMesh_DataMapNodeOfDataMapOfVertexInteger self) -> Standard_Integer

Key()
Return type:TopoDS_Vertex
SetValue()

BRepMesh_DataMapNodeOfDataMapOfVertexInteger_SetValue(BRepMesh_DataMapNodeOfDataMapOfVertexInteger self, Standard_Integer value)

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapOfFaceAttribute(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepMesh_DataMapOfFaceAttribute &) –
Return type:BRepMesh_DataMapOfFaceAttribute
Bind()
Parameters:
  • K (TopoDS_Face &) –
  • I (Handle_BRepMesh_FaceAttribute &) –
Return type:

bool

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

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapOfIntegerListOfInteger(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepMesh_DataMapOfIntegerListOfInteger &) –
Return type:BRepMesh_DataMapOfIntegerListOfInteger
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (BRepMesh_ListOfInteger &) –
Return type:

bool

ChangeFind()
Parameters:K (Standard_Integer &) –
Return type:BRepMesh_ListOfInteger
ChangeFind1()
Parameters:K (Standard_Integer &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (Standard_Integer &) –
Return type:BRepMesh_ListOfInteger
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 (BRepMesh_DataMapOfIntegerListOfInteger &) –
Return type:BRepMesh_DataMapOfIntegerListOfInteger
UnBind()
Parameters:K (Standard_Integer &) –
Return type:bool
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapOfIntegerListOfXY(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepMesh_DataMapOfIntegerListOfXY &) –
Return type:BRepMesh_DataMapOfIntegerListOfXY
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (BRepMesh_ListOfXY &) –
Return type:

bool

ChangeFind()
Parameters:K (Standard_Integer &) –
Return type:BRepMesh_ListOfXY
ChangeFind1()
Parameters:K (Standard_Integer &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (Standard_Integer &) –
Return type:BRepMesh_ListOfXY
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 (BRepMesh_DataMapOfIntegerListOfXY &) –
Return type:BRepMesh_DataMapOfIntegerListOfXY
UnBind()
Parameters:K (Standard_Integer &) –
Return type:bool
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapOfIntegerPnt(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepMesh_DataMapOfIntegerPnt &) –
Return type:BRepMesh_DataMapOfIntegerPnt
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (gp_Pnt) –
Return type:

bool

ChangeFind()
Parameters:K (Standard_Integer &) –
Return type:gp_Pnt
ChangeFind1()
Parameters:K (Standard_Integer &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (Standard_Integer &) –
Return type:gp_Pnt
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 (BRepMesh_DataMapOfIntegerPnt &) –
Return type:BRepMesh_DataMapOfIntegerPnt
UnBind()
Parameters:K (Standard_Integer &) –
Return type:bool
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapOfShapePairOfPolygon(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepMesh_DataMapOfShapePairOfPolygon &) –
Return type:BRepMesh_DataMapOfShapePairOfPolygon
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (BRepMesh_PairOfPolygon &) –
Return type:

bool

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

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapOfShapeReal(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepMesh_DataMapOfShapeReal &) –
Return type:BRepMesh_DataMapOfShapeReal
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (float &) –
Return type:

bool

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

The membership flag

class OCC.BRepMesh.BRepMesh_DataMapOfVertexInteger(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepMesh_DataMapOfVertexInteger &) –
Return type:BRepMesh_DataMapOfVertexInteger
Bind()
Parameters:
  • K (TopoDS_Vertex &) –
  • I (Standard_Integer &) –
Return type:

bool

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

The membership flag

class OCC.BRepMesh.BRepMesh_DataStructureOfDelaun(*args)

Bases: OCC.MMgt.MMgt_TShared

AddElement()
  • Adds an element to the mesh if it is not already in the Mesh. Returns the index of the element in the structure.
Parameters:theElement (BRepMesh_Triangle &) –
Return type:int
  • Adds a Link to the mesh if the Link is not already in the structure. Returns the index of the link in the structure.
Parameters:theLink (BRepMesh_Edge &) –
Return type:int
AddNode()
  • Adds a node to the mesh if the node is not already in the Mesh. Returns the index of the node in the structure.
Parameters:theNode (BRepMesh_Vertex &) –
Return type:int
Allocator()
Return type:BRepMesh_BaseAllocator
ClearDeleted()
  • This method substitute the deleted items by the last in Indexed Data Maps to have only non-deleted elements, links or nodes in the structure.
Return type:None
ClearDomain()
  • Removes all elements
Return type:None
Data()
  • Give the data structure for cell size and tolerance initialization.
Return type:BRepMesh_VertexTool
ElemConnectedTo()
  • Gives the element’s indices conected to <theLink>.
Parameters:theLink (Standard_Integer) –
Return type:BRepMesh_PairOfIndex
ElemOfDomain()
  • Gives the list of element’s indices
Return type:BRepMesh_MapOfInteger
  • Removes the link of index <index> from the mesh.
Parameters:Index (Standard_Integer) –
Return type:None
ForceRemoveNode()
  • Removes the node of index <index> from the mesh.
Parameters:Index (Standard_Integer) –
Return type:None
GetElement()
  • Get the value of Element <Index>.
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Triangle
GetHandle()

BRepMesh_DataStructureOfDelaun_GetHandle(BRepMesh_DataStructureOfDelaun self) -> Handle_BRepMesh_DataStructureOfDelaun

  • Get the value of Link <Index>.
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Edge
GetNode()
  • Get the value of node <Index>.
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Vertex
GetNodeList()
  • Get the list of node <Index>.
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_ListOfInteger
IndexOf()
  • Finds the index of the node. Returns 0 if the node is not in the mesh.
Parameters:aNode (BRepMesh_Vertex &) –
Return type:int
  • Finds the index of the Link. Returns 0 if the Link is not in the mesh.
Parameters:aLink (BRepMesh_Edge &) –
Return type:int
  • Finds the index of the Element. Returns 0 if the Element is not in the mesh.
Parameters:anElement (BRepMesh_Triangle &) –
Return type:int
LinkNeighboursOf()
  • Gives the list of Link’s indices handling the node <theNode>.
Parameters:theNode (Standard_Integer) –
Return type:BRepMesh_ListOfInteger
LinkOfDomain()
  • Gives the list of link’s indices
Return type:BRepMesh_MapOfInteger
MoveNode()
  • Changes the UV value of node of index <Index> by <newNode>. Returns false if <newnode> is already in the structure.
Parameters:
  • Index (Standard_Integer) –
  • newNode (BRepMesh_Vertex &) –
Return type:

bool

NbElements()
  • Gives the number of elements in this mesh.
Return type:int
  • Gives the number of elements in this mesh.
Return type:int
NbNodes()
  • Gives the number of nodes in this mesh.
Return type:int
RemoveElement()
  • Removes the element of index <Index> in the mesh.
Parameters:Index (Standard_Integer) –
Return type:None
  • Removes the Link of index <Index> from the mesh.
Parameters:Index (Standard_Integer) –
Return type:None
RemoveNode()
  • Removes the node of index <index> from the mesh.
Parameters:Index (Standard_Integer) –
Return type:None
ReplaceNodes()
  • Removes the all nodes and sets new map of nodes from the mesh. For internal use only.
Parameters:NewNodes (BRepMesh_VertexTool &) –
Return type:None
StatisticsToString()

BRepMesh_DataStructureOfDelaun_StatisticsToString(BRepMesh_DataStructureOfDelaun self) -> std::string

SubstituteElement()
  • Substitutes the element of index <Index> by <newElement>. The links connectivity is updated.
Parameters:
  • Index (Standard_Integer) –
  • newElement (BRepMesh_Triangle &) –
Return type:

bool

  • Substitutes the Link of index <Index> by <newLink> clear the connectivity.
Parameters:
  • Index (Standard_Integer) –
  • newLink (BRepMesh_Edge &) –
Return type:

bool

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_Delaun(*args)

Bases: object

AddVertices()
  • Adds some vertices into the triangulation.
Parameters:theVertices (BRepMesh_Array1OfVertexOfDelaun &) –
Return type:None
Contains()
  • Test is the given triangle contains the given vertex. If <theEdgeOn> != 0 the vertex lies onto the edge index returned through this parameter.
Parameters:
  • theTriangleId (Standard_Integer) –
  • theVertex (BRepMesh_Vertex &) –
  • theEdgeOn (Standard_Integer &) –
Return type:

bool

FreeEdges()
  • Gives the list of free edges used only one time
Return type:inline Handle_BRepMesh_MapOfInteger
Frontier()
  • Gives the list of frontier edges
Return type:inline Handle_BRepMesh_MapOfInteger
GetEdge()
  • Gives edge with the given index
Parameters:theIndex (Standard_Integer) –
Return type:inline BRepMesh_Edge
GetTriangle()
  • Gives triangle with the given index
Parameters:theIndex (Standard_Integer) –
Return type:inline BRepMesh_Triangle
GetVertex()
  • Gives vertex with the given index
Parameters:theIndex (Standard_Integer) –
Return type:inline BRepMesh_Vertex
Init()
  • Initializes the triangulation with an array of vertices.
Parameters:theVertices (BRepMesh_Array1OfVertexOfDelaun &) –
Return type:None
InternalEdges()
  • Gives the list of internal edges
Return type:inline Handle_BRepMesh_MapOfInteger
RemoveVertex()
  • Removes a vertex from the triangulation.
Parameters:theVertex (BRepMesh_Vertex &) –
Return type:None
Result()
  • Gives the Mesh data structure.
Return type:Handle_BRepMesh_DataStructureOfDelaun
UseEdge()
  • Modify mesh to use the edge. Return True if done.
Parameters:theEdge (Standard_Integer) –
Return type:bool
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_DiscretRoot(*args, **kwargs)

Bases: OCC.Standard.Standard_Transient

Angle()
  • Returns angular deflection.
Return type:float
Deflection()
  • Returns linear deflection.
Return type:float
GetHandle()

BRepMesh_DiscretRoot_GetHandle(BRepMesh_DiscretRoot self) -> Handle_BRepMesh_DiscretRoot

IsDone()
  • Returns true if triangualtion was performed and has success.
Return type:bool
Perform()
  • Compute triangulation for set shape.
Return type:void
SetAngle()
  • Setup angular deflection.
Parameters:theAngle (float) –
Return type:None
SetDeflection()
  • Setup linear deflection.
Parameters:theDeflection (float) –
Return type:None
SetShape()
  • Set the shape to triangulate.
Parameters:theShape (TopoDS_Shape &) –
Return type:None
Shape()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_Edge(*args)

Bases: object

FirstNode()
  • Give the index of first node of the Link.
Return type:int
HashCode()
Parameters:Upper (Standard_Integer) –
Return type:int
IsEqual()
Parameters:Other (BRepMesh_Edge &) –
Return type:bool
LastNode()
  • Give the index of Last node of the Link.
Return type:int
Movability()
Return type:BRepMesh_DegreeOfFreedom
SameOrientation()
Parameters:Other (BRepMesh_Edge &) –
Return type:bool
SetMovability()
Parameters:Move (BRepMesh_DegreeOfFreedom) –
Return type:None
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ElemHasherOfDataStructureOfDelaun(*args, **kwargs)

Bases: object

static HashCode(*args)
Parameters:
  • K (BRepMesh_Triangle &) –
  • Upper (Standard_Integer) –
Return type:

int

static IsEqual(*args)
Parameters:
  • K1 (BRepMesh_Triangle &) –
  • K2 (BRepMesh_Triangle &) –
Return type:

bool

thisown

The membership flag

OCC.BRepMesh.BRepMesh_ElemHasherOfDataStructureOfDelaun_HashCode(*args)
Parameters:
  • K (BRepMesh_Triangle &) –
  • Upper (Standard_Integer) –
Return type:

int

OCC.BRepMesh.BRepMesh_ElemHasherOfDataStructureOfDelaun_IsEqual(*args)
Parameters:
  • K1 (BRepMesh_Triangle &) –
  • K2 (BRepMesh_Triangle &) –
Return type:

bool

class OCC.BRepMesh.BRepMesh_FaceAttribute

Bases: OCC.MMgt.MMgt_TShared

GetClassifier()
Return type:BRepMesh_ClassifierPtr
GetGetDefFace()

BRepMesh_FaceAttribute_GetGetDefFace(BRepMesh_FaceAttribute self) -> Standard_Real

GetGetDeltaX()

BRepMesh_FaceAttribute_GetGetDeltaX(BRepMesh_FaceAttribute self) -> Standard_Real

GetGetDeltaY()

BRepMesh_FaceAttribute_GetGetDeltaY(BRepMesh_FaceAttribute self) -> Standard_Real

GetGetMinX()

BRepMesh_FaceAttribute_GetGetMinX(BRepMesh_FaceAttribute self) -> Standard_Real

GetGetMinY()

BRepMesh_FaceAttribute_GetGetMinY(BRepMesh_FaceAttribute self) -> Standard_Real

GetGetUMax()

BRepMesh_FaceAttribute_GetGetUMax(BRepMesh_FaceAttribute self) -> Standard_Real

GetGetUMin()

BRepMesh_FaceAttribute_GetGetUMin(BRepMesh_FaceAttribute self) -> Standard_Real

GetGetVMax()

BRepMesh_FaceAttribute_GetGetVMax(BRepMesh_FaceAttribute self) -> Standard_Real

GetGetVMin()

BRepMesh_FaceAttribute_GetGetVMin(BRepMesh_FaceAttribute self) -> Standard_Real

GetHandle()

BRepMesh_FaceAttribute_GetHandle(BRepMesh_FaceAttribute self) -> Handle_BRepMesh_FaceAttribute

SetGetDefFace()

BRepMesh_FaceAttribute_SetGetDefFace(BRepMesh_FaceAttribute self, Standard_Real value)

SetGetDeltaX()

BRepMesh_FaceAttribute_SetGetDeltaX(BRepMesh_FaceAttribute self, Standard_Real value)

SetGetDeltaY()

BRepMesh_FaceAttribute_SetGetDeltaY(BRepMesh_FaceAttribute self, Standard_Real value)

SetGetMinX()

BRepMesh_FaceAttribute_SetGetMinX(BRepMesh_FaceAttribute self, Standard_Real value)

SetGetMinY()

BRepMesh_FaceAttribute_SetGetMinY(BRepMesh_FaceAttribute self, Standard_Real value)

SetGetUMax()

BRepMesh_FaceAttribute_SetGetUMax(BRepMesh_FaceAttribute self, Standard_Real value)

SetGetUMin()

BRepMesh_FaceAttribute_SetGetUMin(BRepMesh_FaceAttribute self, Standard_Real value)

SetGetVMax()

BRepMesh_FaceAttribute_SetGetVMax(BRepMesh_FaceAttribute self, Standard_Real value)

SetGetVMin()

BRepMesh_FaceAttribute_SetGetVMin(BRepMesh_FaceAttribute self, Standard_Real value)

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_FastDiscret(*args)

Bases: OCC.MMgt.MMgt_TShared

Add()
  • Record a face for further processing.
Parameters:
  • face (TopoDS_Face &) –
  • ancestor (TopTools_IndexedDataMapOfShapeListOfShape &) –
Return type:

None

static BoxMaxDimension(*args)
  • Returns the maximal dimension of Bnd_Box
Parameters:
  • box (Bnd_Box &) –
  • maxdim (float &) –
Return type:

void

CreateMutexesForSubShapes()
  • Creates mutexes for each sub-shape of type theType in theShape. Used to avoid data races.
Parameters:
  • theShape (TopoDS_Shape &) –
  • theType (TopAbs_ShapeEnum) –
Return type:

None

CurrentFaceStatus()
Return type:BRepMesh_Status
Edge()
  • Gives the edge of index <Index>.
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Edge
EdgesOfDomain()
  • Gives the list of indices of the edges
Parameters:Indices (BRepMesh_MapOfInteger &) –
Return type:None
GetAngle()
  • returns the deflection value.
Return type:float
GetDeflection()
  • returns the deflection value.
Return type:float
GetFaceAttribute()
  • returns the face deflection value.
Parameters:
  • face (TopoDS_Face &) –
  • fattrib (Handle_BRepMesh_FaceAttribute &) –
Return type:

bool

GetHandle()

BRepMesh_FastDiscret_GetHandle(BRepMesh_FastDiscret self) -> Handle_BRepMesh_FastDiscret

GetMapOfDefEdge()
Return type:TopTools_DataMapOfShapeReal
InShape()
Return type:bool
IsParallel()
  • Returns the multi-threading usage flag.
Return type:bool
NbEdges()
  • Gives the number of built Edges
Return type:int
NbPoint3d()
  • Gives the number of different location in 3d space. It is different of the number of vertices if there is more than one surface. Even for one surface, the number can be different if an edge is shared.
Return type:int
NbTriangles()
  • Gives the number of built triangles.
Return type:int
NbVertices()
  • Gives the number of built Vertices.
Return type:int
Perform()
  • Build triangulation on the whole shape
Parameters:shape (TopoDS_Shape &) –
Return type:None
Pnt()
  • Gives the location3d of the vertex of <Index>.
Parameters:Index (Standard_Integer) –
Return type:gp_Pnt
Point3d()
  • Gives the 3d space location of the vertex <Index>.
Parameters:Index (Standard_Integer) –
Return type:gp_Pnt
Process()
  • Triangulate a face previously recorded for processing by call to Add(). Can be executed in parallel threads.
Parameters:face (TopoDS_Face &) –
Return type:None
static RelativeEdgeDeflection(*args)
  • Returns computed relative deflection for edge
Parameters:
  • edge (TopoDS_Edge &) –
  • defle (float) –
  • dtotale (float) –
  • cdef (float &) –
Return type:

float

RemoveAllMutexes()
  • Removes all created mutexes
Return type:None
RemoveFaceAttribute()
  • remove face attribute as useless to free locate memory
Parameters:face (TopoDS_Face &) –
Return type:None
SetParallel()
  • Request algorithm to launch in multiple threads to improve performance (should be supported by plugin).
Parameters:theInParallel (bool) –
Return type:None
ShapeTrigu()
Return type:bool
Triangle()
  • Gives the triangle of <Index>.
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Triangle
TrianglesOfDomain()
  • Gives the list of indices of the triangles
Parameters:Indices (BRepMesh_MapOfInteger &) –
Return type:None
Vertex()
  • Gives the vertex of <Index>.
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Vertex
VerticesOfDomain()
  • Gives the list of indices of the vertices
Parameters:Indices (BRepMesh_MapOfInteger &) –
Return type:None
WithShare()
Return type:bool
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_FastDiscretFace(*args)

Bases: OCC.MMgt.MMgt_TShared

Add()
Parameters:
  • theFace (TopoDS_Face &) –
  • theAttrib (Handle_BRepMesh_FaceAttribute &) –
  • theMapDefle (TopTools_DataMapOfShapeReal &) –
  • theMutexProvider (TopTools_MutexForShapeProvider &) –
Return type:

None

Control()
Parameters:
  • theCaro (Handle_BRepAdaptor_HSurface &) –
  • theDefFace (float) –
  • theInternalV (BRepMesh_ListOfVertex &) –
  • theBadTriangles (TColStd_ListOfInteger &) –
  • theNulTriangles (TColStd_ListOfInteger &) –
  • theTrigu (BRepMesh_Delaun &) –
  • theIsFirst (bool) –
Return type:

float

Edge()
  • Gives the edge of index <Index>.
Parameters:theIndex (Standard_Integer) –
Return type:BRepMesh_Edge
static FindUV(*args)
Parameters:
  • theV (TopoDS_Vertex &) –
  • theXY (gp_Pnt2d) –
  • theIp (Standard_Integer) –
  • theSFace (Handle_BRepAdaptor_HSurface &) –
  • theMinDist (float) –
  • theFaceAttribute (Handle_BRepMesh_FaceAttribute &) –
  • theLocation2dMap (BRepMesh_DataMapOfIntegerListOfXY &) –
Return type:

gp_XY

GetHandle()

BRepMesh_FastDiscretFace_GetHandle(BRepMesh_FastDiscretFace self) -> Handle_BRepMesh_FastDiscretFace

Pnt()
  • Gives the location3d of the vertex of <Index>.
Parameters:theIndex (Standard_Integer) –
Return type:gp_Pnt
Triangle()
  • Gives the triangle of <Index>.
Parameters:theIndex (Standard_Integer) –
Return type:BRepMesh_Triangle
Vertex()
  • Gives the vertex of <Index>.
Parameters:theIndex (Standard_Integer) –
Return type:BRepMesh_Vertex
thisown

The membership flag

OCC.BRepMesh.BRepMesh_FastDiscretFace_FindUV(*args)
Parameters:
  • theV (TopoDS_Vertex &) –
  • theXY (gp_Pnt2d) –
  • theIp (Standard_Integer) –
  • theSFace (Handle_BRepAdaptor_HSurface &) –
  • theMinDist (float) –
  • theFaceAttribute (Handle_BRepMesh_FaceAttribute &) –
  • theLocation2dMap (BRepMesh_DataMapOfIntegerListOfXY &) –
Return type:

gp_XY

OCC.BRepMesh.BRepMesh_FastDiscret_BoxMaxDimension(*args)
  • Returns the maximal dimension of Bnd_Box
Parameters:
  • box (Bnd_Box &) –
  • maxdim (float &) –
Return type:

void

OCC.BRepMesh.BRepMesh_FastDiscret_RelativeEdgeDeflection(*args)
  • Returns computed relative deflection for edge
Parameters:
  • edge (TopoDS_Edge &) –
  • defle (float) –
  • dtotale (float) –
  • cdef (float &) –
Return type:

float

class OCC.BRepMesh.BRepMesh_GeomTool(*args)

Bases: object

AddPoint()
  • Add point to already calculated points (or replace existing) Returns index of new added point or founded with parametric tolerance (replaced if theIsReplace is true)
Parameters:
  • thePnt (gp_Pnt) –
  • theParam (float) –
  • theIsReplace (bool) – default value is Standard_True
Return type:

int

  • Add point to already calculated points (or replace existing) Returns index of new added point or founded with parametric tolerance (replaced if theIsReplace is true)
Parameters:
  • thePnt (gp_Pnt) –
  • theParam (float) –
  • theIsReplace (bool) – default value is Standard_True
Return type:

int

static D0(*args)
Parameters:
  • F (Handle_BRepAdaptor_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
Return type:

void

NbPoints()
Return type:int
static Normal(*args)
  • return false if the normal can not be computed
Parameters:
  • F (Handle_BRepAdaptor_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • Nor (gp_Dir) –
Return type:

bool

Value()
Parameters:
  • IsoParam (float) –
  • Index (Standard_Integer) –
  • W (float &) –
  • P (gp_Pnt) –
  • UV (gp_Pnt2d) –
  • C (BRepAdaptor_Curve &) –
  • S (Handle_BRepAdaptor_HSurface &) –
  • Index
  • W
  • P
  • UV
Return type:

None

Return type:

None

thisown

The membership flag

OCC.BRepMesh.BRepMesh_GeomTool_D0(*args)
Parameters:
  • F (Handle_BRepAdaptor_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
Return type:

void

OCC.BRepMesh.BRepMesh_GeomTool_Normal(*args)
  • return false if the normal can not be computed
Parameters:
  • F (Handle_BRepAdaptor_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • Nor (gp_Dir) –
Return type:

bool

class OCC.BRepMesh.BRepMesh_HArray1OfVertexOfDelaun(*args)

Bases: OCC.MMgt.MMgt_TShared

Array1()
Return type:BRepMesh_Array1OfVertexOfDelaun
ChangeArray1()
Return type:BRepMesh_Array1OfVertexOfDelaun
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Vertex
GetHandle()

BRepMesh_HArray1OfVertexOfDelaun_GetHandle(BRepMesh_HArray1OfVertexOfDelaun self) -> Handle_BRepMesh_HArray1OfVertexOfDelaun

Init()
Parameters:V (BRepMesh_Vertex &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (BRepMesh_Vertex &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:BRepMesh_Vertex
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_HeapSortIndexedVertexOfDelaun(*args, **kwargs)

Bases: object

static Sort(*args)
Parameters:
  • TheArray (TColStd_Array1OfInteger &) –
  • Comp (BRepMesh_ComparatorOfIndexedVertexOfDelaun &) –
Return type:

void

thisown

The membership flag

OCC.BRepMesh.BRepMesh_HeapSortIndexedVertexOfDelaun_Sort(*args)
Parameters:
  • TheArray (TColStd_Array1OfInteger &) –
  • Comp (BRepMesh_ComparatorOfIndexedVertexOfDelaun &) –
Return type:

void

class OCC.BRepMesh.BRepMesh_HeapSortVertexOfDelaun(*args, **kwargs)

Bases: object

static Sort(*args)
Parameters:
  • TheArray (BRepMesh_Array1OfVertexOfDelaun &) –
  • Comp (BRepMesh_ComparatorOfVertexOfDelaun &) –
Return type:

void

thisown

The membership flag

OCC.BRepMesh.BRepMesh_HeapSortVertexOfDelaun_Sort(*args)
Parameters:
  • TheArray (BRepMesh_Array1OfVertexOfDelaun &) –
  • Comp (BRepMesh_ComparatorOfVertexOfDelaun &) –
Return type:

void

class OCC.BRepMesh.BRepMesh_IDMapOfLinkOfDataStructureOfDelaun(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:
  • K (BRepMesh_Edge &) –
  • I (BRepMesh_PairOfIndex &) –
Return type:

int

Assign()
Parameters:Other (BRepMesh_IDMapOfLinkOfDataStructureOfDelaun &) –
Return type:BRepMesh_IDMapOfLinkOfDataStructureOfDelaun
ChangeFromIndex()
Parameters:I (Standard_Integer) –
Return type:BRepMesh_PairOfIndex
ChangeFromKey()
Parameters:K (BRepMesh_Edge &) –
Return type:BRepMesh_PairOfIndex
ChangeFromKey1()
Parameters:K (BRepMesh_Edge &) –
Return type:Standard_Address
Clear()
Return type:None
Contains()
Parameters:K (BRepMesh_Edge &) –
Return type:bool
FindFromIndex()
Parameters:I (Standard_Integer) –
Return type:BRepMesh_PairOfIndex
FindFromKey()
Parameters:K (BRepMesh_Edge &) –
Return type:BRepMesh_PairOfIndex
FindFromKey1()
Parameters:K (BRepMesh_Edge &) –
Return type:Standard_Address
FindIndex()
Parameters:K (BRepMesh_Edge &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:BRepMesh_Edge
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (BRepMesh_IDMapOfLinkOfDataStructureOfDelaun &) –
Return type:BRepMesh_IDMapOfLinkOfDataStructureOfDelaun
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (BRepMesh_Edge &) –
  • T (BRepMesh_PairOfIndex &) –
Return type:

None

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_IDMapOfNodeOfDataStructureOfDelaun(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:
  • K (BRepMesh_Vertex &) –
  • I (BRepMesh_ListOfInteger &) –
Return type:

int

Assign()
Parameters:Other (BRepMesh_IDMapOfNodeOfDataStructureOfDelaun &) –
Return type:BRepMesh_IDMapOfNodeOfDataStructureOfDelaun
ChangeFromIndex()
Parameters:I (Standard_Integer) –
Return type:BRepMesh_ListOfInteger
ChangeFromKey()
Parameters:K (BRepMesh_Vertex &) –
Return type:BRepMesh_ListOfInteger
ChangeFromKey1()
Parameters:K (BRepMesh_Vertex &) –
Return type:Standard_Address
Clear()
Return type:None
Contains()
Parameters:K (BRepMesh_Vertex &) –
Return type:bool
FindFromIndex()
Parameters:I (Standard_Integer) –
Return type:BRepMesh_ListOfInteger
FindFromKey()
Parameters:K (BRepMesh_Vertex &) –
Return type:BRepMesh_ListOfInteger
FindFromKey1()
Parameters:K (BRepMesh_Vertex &) –
Return type:Standard_Address
FindIndex()
Parameters:K (BRepMesh_Vertex &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:BRepMesh_Vertex
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (BRepMesh_IDMapOfNodeOfDataStructureOfDelaun &) –
Return type:BRepMesh_IDMapOfNodeOfDataStructureOfDelaun
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (BRepMesh_Vertex &) –
  • T (BRepMesh_ListOfInteger &) –
Return type:

None

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_IMapOfElementOfDataStructureOfDelaun(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:K (BRepMesh_Triangle &) –
Return type:int
Assign()
Parameters:Other (BRepMesh_IMapOfElementOfDataStructureOfDelaun &) –
Return type:BRepMesh_IMapOfElementOfDataStructureOfDelaun
Clear()
Return type:None
Contains()
Parameters:K (BRepMesh_Triangle &) –
Return type:bool
FindIndex()
Parameters:K (BRepMesh_Triangle &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:BRepMesh_Triangle
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (BRepMesh_IMapOfElementOfDataStructureOfDelaun &) –
Return type:BRepMesh_IMapOfElementOfDataStructureOfDelaun
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (BRepMesh_Triangle &) –
Return type:

None

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_IncrementalMesh(*args)

Bases: OCC.BRepMesh.BRepMesh_DiscretRoot

static Discret(*args)
  • Plugin interface for the Mesh Factories.
Parameters:
  • theShape (TopoDS_Shape &) –
  • theDeflection (float) –
  • theAngle (float) –
  • theAlgo (BRepMesh_PDiscretRoot &) –
Return type:

int

GetHandle()

BRepMesh_IncrementalMesh_GetHandle(BRepMesh_IncrementalMesh self) -> Handle_BRepMesh_IncrementalMesh

GetStatusFlags()
Return type:int
IsModified()
Return type:bool
IsParallel()
  • Returns the multi-threading usage flag.
Return type:bool
static IsParallelDefault()
  • Returns multi-threading usage flag set by default in Discret() static method (thus applied only to Mesh Factories).
Return type:bool
Relative()
Return type:bool
SetParallel()
  • Request algorithm to launch in multiple threads to improve performance.
Parameters:theInParallel (bool) –
Return type:None
static SetParallelDefault(*args)
  • Setup multi-threading usage flag set by default in Discret() static method (thus applied only to Mesh Factories).
Parameters:theInParallel (bool) –
Return type:void
SetRelative()
Parameters:theFlag (bool) –
Return type:None
Update()
  • Builds the incremental mesh of the shape
Parameters:S (TopoDS_Shape &) –
Return type:None
thisown

The membership flag

OCC.BRepMesh.BRepMesh_IncrementalMesh_Discret(*args)
  • Plugin interface for the Mesh Factories.
Parameters:
  • theShape (TopoDS_Shape &) –
  • theDeflection (float) –
  • theAngle (float) –
  • theAlgo (BRepMesh_PDiscretRoot &) –
Return type:

int

OCC.BRepMesh.BRepMesh_IncrementalMesh_IsParallelDefault()
  • Returns multi-threading usage flag set by default in Discret() static method (thus applied only to Mesh Factories).
Return type:bool
OCC.BRepMesh.BRepMesh_IncrementalMesh_SetParallelDefault(*args)
  • Setup multi-threading usage flag set by default in Discret() static method (thus applied only to Mesh Factories).
Parameters:theInParallel (bool) –
Return type:void
class OCC.BRepMesh.BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun_GetHandle(BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun self) -> Handle_BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun

GetKey2()

BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun_GetKey2(BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun self) -> Standard_Integer

Key1()
Return type:BRepMesh_Edge
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun_SetKey2(BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun self, Standard_Integer value)

Value()
Return type:BRepMesh_PairOfIndex
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun_GetHandle(BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun self) -> Handle_BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun

GetKey2()

BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun_GetKey2(BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun self) -> Standard_Integer

Key1()
Return type:BRepMesh_Vertex
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun_SetKey2(BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun self, Standard_Integer value)

Value()
Return type:BRepMesh_ListOfInteger
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun_GetHandle(BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun self) -> Handle_BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun

GetKey2()

BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun_GetKey2(BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun self) -> Standard_Integer

Key1()
Return type:BRepMesh_Triangle
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun_SetKey2(BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun self, Standard_Integer value)

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_IndexedMapNodeOfIndexedMapOfVertex(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_IndexedMapNodeOfIndexedMapOfVertex_GetHandle(BRepMesh_IndexedMapNodeOfIndexedMapOfVertex self) -> Handle_BRepMesh_IndexedMapNodeOfIndexedMapOfVertex

GetKey2()

BRepMesh_IndexedMapNodeOfIndexedMapOfVertex_GetKey2(BRepMesh_IndexedMapNodeOfIndexedMapOfVertex self) -> Standard_Integer

Key1()
Return type:BRepMesh_Vertex
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

BRepMesh_IndexedMapNodeOfIndexedMapOfVertex_SetKey2(BRepMesh_IndexedMapNodeOfIndexedMapOfVertex self, Standard_Integer value)

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_IndexedMapOfVertex(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:K (BRepMesh_Vertex &) –
Return type:int
Assign()
Parameters:Other (BRepMesh_IndexedMapOfVertex &) –
Return type:BRepMesh_IndexedMapOfVertex
Clear()
Return type:None
Contains()
Parameters:K (BRepMesh_Vertex &) –
Return type:bool
FindIndex()
Parameters:K (BRepMesh_Vertex &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:BRepMesh_Vertex
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (BRepMesh_IndexedMapOfVertex &) –
Return type:BRepMesh_IndexedMapOfVertex
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (BRepMesh_Vertex &) –
Return type:

None

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_LinkHasherOfDataStructureOfDelaun(*args, **kwargs)

Bases: object

static HashCode(*args)
Parameters:
  • K (BRepMesh_Edge &) –
  • Upper (Standard_Integer) –
Return type:

int

static IsEqual(*args)
Parameters:
  • K1 (BRepMesh_Edge &) –
  • K2 (BRepMesh_Edge &) –
Return type:

bool

thisown

The membership flag

OCC.BRepMesh.BRepMesh_LinkHasherOfDataStructureOfDelaun_HashCode(*args)
Parameters:
  • K (BRepMesh_Edge &) –
  • Upper (Standard_Integer) –
Return type:

int

OCC.BRepMesh.BRepMesh_LinkHasherOfDataStructureOfDelaun_IsEqual(*args)
Parameters:
  • K1 (BRepMesh_Edge &) –
  • K2 (BRepMesh_Edge &) –
Return type:

bool

class OCC.BRepMesh.BRepMesh_ListIteratorOfListOfVertex(*args)

Bases: object

Initialize()
Parameters:L (BRepMesh_ListOfVertex &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:BRepMesh_Vertex
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ListIteratorOfListOfXY(*args)

Bases: object

Initialize()
Parameters:L (BRepMesh_ListOfXY &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:gp_XY
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ListNodeOfListOfVertex(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_ListNodeOfListOfVertex_GetHandle(BRepMesh_ListNodeOfListOfVertex self) -> Handle_BRepMesh_ListNodeOfListOfVertex

Value()
Return type:BRepMesh_Vertex
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ListNodeOfListOfXY(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepMesh_ListNodeOfListOfXY_GetHandle(BRepMesh_ListNodeOfListOfXY self) -> Handle_BRepMesh_ListNodeOfListOfXY

Value()
Return type:gp_XY
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ListOfVertex

Bases: object

Append()
Parameters:
  • I (BRepMesh_Vertex &) –
  • I
  • theIt (BRepMesh_ListIteratorOfListOfVertex &) –
  • Other (BRepMesh_ListOfVertex &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepMesh_ListOfVertex &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:BRepMesh_Vertex
InsertAfter()
Parameters:
  • I (BRepMesh_Vertex &) –
  • It (BRepMesh_ListIteratorOfListOfVertex &) –
  • Other (BRepMesh_ListOfVertex &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (BRepMesh_Vertex &) –
  • It (BRepMesh_ListIteratorOfListOfVertex &) –
  • Other (BRepMesh_ListOfVertex &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:BRepMesh_Vertex
Prepend()
Parameters:
  • I (BRepMesh_Vertex &) –
  • I
  • theIt (BRepMesh_ListIteratorOfListOfVertex &) –
  • Other (BRepMesh_ListOfVertex &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (BRepMesh_ListIteratorOfListOfVertex &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (BRepMesh_ListOfVertex &) –
Return type:None
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ListOfXY

Bases: object

Append()
Parameters:
  • I (gp_XY) –
  • I
  • theIt (BRepMesh_ListIteratorOfListOfXY &) –
  • Other (BRepMesh_ListOfXY &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepMesh_ListOfXY &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:gp_XY
InsertAfter()
Parameters:
  • I (gp_XY) –
  • It (BRepMesh_ListIteratorOfListOfXY &) –
  • Other (BRepMesh_ListOfXY &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (gp_XY) –
  • It (BRepMesh_ListIteratorOfListOfXY &) –
  • Other (BRepMesh_ListOfXY &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:gp_XY
Prepend()
Parameters:
  • I (gp_XY) –
  • I
  • theIt (BRepMesh_ListIteratorOfListOfXY &) –
  • Other (BRepMesh_ListOfXY &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (BRepMesh_ListIteratorOfListOfXY &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (BRepMesh_ListOfXY &) –
Return type:None
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_NodeHasherOfDataStructureOfDelaun(*args, **kwargs)

Bases: object

static HashCode(*args)
Parameters:
  • K (BRepMesh_Vertex &) –
  • Upper (Standard_Integer) –
Return type:

int

static IsEqual(*args)
Parameters:
  • K1 (BRepMesh_Vertex &) –
  • K2 (BRepMesh_Vertex &) –
Return type:

bool

thisown

The membership flag

OCC.BRepMesh.BRepMesh_NodeHasherOfDataStructureOfDelaun_HashCode(*args)
Parameters:
  • K (BRepMesh_Vertex &) –
  • Upper (Standard_Integer) –
Return type:

int

OCC.BRepMesh.BRepMesh_NodeHasherOfDataStructureOfDelaun_IsEqual(*args)
Parameters:
  • K1 (BRepMesh_Vertex &) –
  • K2 (BRepMesh_Vertex &) –
Return type:

bool

class OCC.BRepMesh.BRepMesh_PairOfIndex(*args)

Bases: object

Append()
  • append index (store first of last index of pair)
Parameters:theIndx (Standard_Integer) –
Return type:None
Clear()
  • Clear indices
Return type:None
Extent()
  • returns numner of initialized indeces
Return type:int
FirstIndex()
  • returns first index from pair
Return type:int
Index()
Parameters:theNum (Standard_Integer) –
Return type:int
IsEmpty()
  • returns is pair not initialized by index
Return type:bool
LastIndex()
  • returns last index
Return type:int
Prepend()
  • prepend index (store first index)
Parameters:theIndx (Standard_Integer) –
Return type:None
RemoveIndex()
  • remove indicated
Parameters:theNum (Standard_Integer) –
Return type:None
SetIndex()
Parameters:
  • theNum (Standard_Integer) –
  • theIndex (Standard_Integer) –
Return type:

None

thisown

The membership flag

class OCC.BRepMesh.BRepMesh_PairOfPolygon

Bases: object

Append()
Parameters:thePoly (Handle_Poly_PolygonOnTriangulation &) –
Return type:None
Clear()
  • Clear pair handles
Return type:None
First()
  • Returns first polygon on triangulation
Return type:Handle_Poly_PolygonOnTriangulation
Last()
  • Returns last polygon on triangulation
Return type:Handle_Poly_PolygonOnTriangulation
Prepend()
Parameters:thePoly (Handle_Poly_PolygonOnTriangulation &) –
Return type:None
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_SelectorOfDataStructureOfDelaun(*args)

Bases: object

AddNeighbours()
  • Adds a level of Neighbours by edge to the selector <self>.
Return type:None
Elements()
Return type:BRepMesh_MapOfInteger
  • Gives the list of links incices frontier of the selector <self>.
Return type:BRepMesh_MapOfInteger
Initialize()
Parameters:theMesh (Handle_BRepMesh_DataStructureOfDelaun &) –
Return type:None
Return type:BRepMesh_MapOfInteger
NeighboursByEdgeOf()
  • Neighbours by edge Of the Element.
Parameters:theElem (BRepMesh_Triangle &) –
Return type:None
NeighboursOf()
Parameters:
  • theNode (BRepMesh_Vertex &) –
  • theLink (BRepMesh_Edge &) –
  • theElem (BRepMesh_Triangle &) –
Return type:

None

Return type:

None

Return type:

None

  • Adds a level of Neighbours by edge to the selector <theSelector>.
Parameters:theSelector (BRepMesh_SelectorOfDataStructureOfDelaun &) –
Return type:None
NeighboursOfElement()
  • All Neighbours Of the Element. By edge or by vertices.
Parameters:indexElem (Standard_Integer) –
Return type:None
Parameters:indexLink (Standard_Integer) –
Return type:None
NeighboursOfNode()
Parameters:indexNode (Standard_Integer) –
Return type:None
Nodes()
Return type:BRepMesh_MapOfInteger
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_ShapeTool

Bases: object

static AddInFace(*args)
Parameters:
  • F (TopoDS_Face &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

void

static Bound(*args)
Parameters:
  • F (TopoDS_Face &) –
  • E (TopoDS_Edge &) –
Return type:

Bnd_Box

Return type:

Bnd_Box

CurrentEdge()
Return type:TopoDS_Edge
CurrentFace()
Return type:TopoDS_Face
CurrentInternalVertex()
Return type:TopoDS_Vertex
static Degenerated(*args)
Parameters:E (TopoDS_Edge &) –
Return type:bool
static FirstVertex(*args)
Parameters:E (TopoDS_Edge &) –
Return type:TopoDS_Vertex
Init()
Parameters:
  • S (TopoDS_Shape &) –
  • F (TopoDS_Face &) –
  • E (TopoDS_Edge &) –
Return type:

None

Return type:

None

Return type:

None

static LastVertex(*args)
Parameters:E (TopoDS_Edge &) –
Return type:TopoDS_Vertex
static Locate(*args)
Parameters:
  • C (BRepAdaptor_Curve &) –
  • W (float) –
  • WFound (float &) –
  • p3d (gp_Pnt) –
  • UV (gp_Pnt2d) –
Return type:

void

MoreEdge()
Return type:bool
MoreFace()
Return type:bool
MoreInternalVertex()
Return type:bool
NextEdge()
Return type:None
NextFace()
Return type:None
NextInternalVertex()
Return type:None
static Orientation(*args)
Parameters:
  • F (TopoDS_Face &) –
  • E (TopoDS_Edge &) –
Return type:

TopAbs_Orientation

Return type:

TopAbs_Orientation

static Parameter(*args)
Parameters:
  • V (TopoDS_Vertex &) –
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

float

static Parameters(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • W (float) –
  • UV (gp_Pnt2d) –
Return type:

void

static Pnt(*args)
Parameters:V (TopoDS_Vertex &) –
Return type:gp_Pnt
static Range(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • wFirst (float &) –
  • wLast (float &) –
Return type:

void

static Tolerance(*args)
Parameters:V (TopoDS_Vertex &) –
Return type:float
static UVPoints(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • uvFirst (gp_Pnt2d) –
  • uvLast (gp_Pnt2d) –
Return type:

void

static Vertices(*args)
  • If there is not First or Last vertex (infinite or semi-infinite edge) return null shapes.
Parameters:
  • E (TopoDS_Edge &) –
  • Vfirst (TopoDS_Vertex &) –
  • Vlast (TopoDS_Vertex &) –
Return type:

void

thisown

The membership flag

OCC.BRepMesh.BRepMesh_ShapeTool_AddInFace(*args)
Parameters:
  • F (TopoDS_Face &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

void

OCC.BRepMesh.BRepMesh_ShapeTool_Bound(*args)
Parameters:
  • F (TopoDS_Face &) –
  • E (TopoDS_Edge &) –
Return type:

Bnd_Box

Return type:

Bnd_Box

OCC.BRepMesh.BRepMesh_ShapeTool_Degenerated(*args)
Parameters:E (TopoDS_Edge &) –
Return type:bool
OCC.BRepMesh.BRepMesh_ShapeTool_FirstVertex(*args)
Parameters:E (TopoDS_Edge &) –
Return type:TopoDS_Vertex
OCC.BRepMesh.BRepMesh_ShapeTool_LastVertex(*args)
Parameters:E (TopoDS_Edge &) –
Return type:TopoDS_Vertex
OCC.BRepMesh.BRepMesh_ShapeTool_Locate(*args)
Parameters:
  • C (BRepAdaptor_Curve &) –
  • W (float) –
  • WFound (float &) –
  • p3d (gp_Pnt) –
  • UV (gp_Pnt2d) –
Return type:

void

OCC.BRepMesh.BRepMesh_ShapeTool_Orientation(*args)
Parameters:
  • F (TopoDS_Face &) –
  • E (TopoDS_Edge &) –
Return type:

TopAbs_Orientation

Return type:

TopAbs_Orientation

OCC.BRepMesh.BRepMesh_ShapeTool_Parameter(*args)
Parameters:
  • V (TopoDS_Vertex &) –
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

float

OCC.BRepMesh.BRepMesh_ShapeTool_Parameters(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • W (float) –
  • UV (gp_Pnt2d) –
Return type:

void

OCC.BRepMesh.BRepMesh_ShapeTool_Pnt(*args)
Parameters:V (TopoDS_Vertex &) –
Return type:gp_Pnt
OCC.BRepMesh.BRepMesh_ShapeTool_Range(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • wFirst (float &) –
  • wLast (float &) –
Return type:

void

OCC.BRepMesh.BRepMesh_ShapeTool_Tolerance(*args)
Parameters:V (TopoDS_Vertex &) –
Return type:float
OCC.BRepMesh.BRepMesh_ShapeTool_UVPoints(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • uvFirst (gp_Pnt2d) –
  • uvLast (gp_Pnt2d) –
Return type:

void

OCC.BRepMesh.BRepMesh_ShapeTool_Vertices(*args)
  • If there is not First or Last vertex (infinite or semi-infinite edge) return null shapes.
Parameters:
  • E (TopoDS_Edge &) –
  • Vfirst (TopoDS_Vertex &) –
  • Vlast (TopoDS_Vertex &) –
Return type:

void

class OCC.BRepMesh.BRepMesh_Triangle(*args)

Bases: object

Edges()
Parameters:
  • theEdge1 (Standard_Integer &) –
  • theEdge2 (Standard_Integer &) –
  • theEdge3 (Standard_Integer &) –
  • theOrientation1 (bool) –
  • theOrientation2 (bool) –
  • theOrientation3 (bool) –
Return type:

None

HashCode()
Parameters:theUpper (Standard_Integer) –
Return type:int
Initialize()
Parameters:
  • theEdge1 (Standard_Integer) –
  • theEdge2 (Standard_Integer) –
  • theEdge3 (Standard_Integer) –
  • theOrientation1 (bool) –
  • theOrientation2 (bool) –
  • theOrientation3 (bool) –
  • isCanMove (BRepMesh_DegreeOfFreedom) –
Return type:

None

IsEqual()
Parameters:theOther (BRepMesh_Triangle &) –
Return type:bool
Movability()
Return type:inline BRepMesh_DegreeOfFreedom
SetMovability()
Parameters:theMovability (BRepMesh_DegreeOfFreedom) –
Return type:None
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_Vertex(*args)

Bases: object

Coord()
Return type:gp_XY
HashCode()
Parameters:Upper (Standard_Integer) –
Return type:int
Initialize()
Parameters:
  • UV (gp_XY) –
  • Locat3d (Standard_Integer) –
  • Move (BRepMesh_DegreeOfFreedom) –
Return type:

None

IsEqual()
Parameters:Other (BRepMesh_Vertex &) –
Return type:bool
Location3d()
Return type:int
Movability()
Return type:BRepMesh_DegreeOfFreedom
SetMovability()
Parameters:Move (BRepMesh_DegreeOfFreedom) –
Return type:None
thisown

The membership flag

class OCC.BRepMesh.BRepMesh_VertexHasher(*args, **kwargs)

Bases: object

static HashCode(*args)
Parameters:
  • K (BRepMesh_Vertex &) –
  • Upper (Standard_Integer) –
Return type:

int

static IsEqual(*args)
Parameters:
  • K1 (BRepMesh_Vertex &) –
  • K2 (BRepMesh_Vertex &) –
Return type:

bool

thisown

The membership flag

OCC.BRepMesh.BRepMesh_VertexHasher_HashCode(*args)
Parameters:
  • K (BRepMesh_Vertex &) –
  • Upper (Standard_Integer) –
Return type:

int

OCC.BRepMesh.BRepMesh_VertexHasher_IsEqual(*args)
Parameters:
  • K1 (BRepMesh_Vertex &) –
  • K2 (BRepMesh_Vertex &) –
Return type:

bool

class OCC.BRepMesh.BRepMesh_VertexInspector(*args)

Bases: object

Add()
Parameters:theVertex (BRepMesh_Vertex &) –
Return type:int
Clear()
Return type:None
Delete()
Parameters:theIndex (Standard_Integer) –
Return type:None
GetCoincidentInd()
  • //!Get result index of node
Return type:int
GetListOfDelNodes()
Return type:BRepMesh_ListOfInteger
GetNbVertices()
Return type:int
GetVertex()
Parameters:theInd (Standard_Integer) –
Return type:BRepMesh_Vertex
Inspect()
  • Implementation of inspection method
Parameters:theTarget (Standard_Integer) –
Return type:NCollection_CellFilter_Action
static IsEqual(*args)
Parameters:
  • theIdx (Standard_Integer) –
  • theTarget (Standard_Integer) –
Return type:

bool

SetCurrent()
  • Set current node to be checked
Parameters:
  • theCurVertex (gp_XY) –
  • Standard_Boolean
Return type:

None

SetTolerance()
Parameters:
  • theTol (float) –
  • theTolX (float) –
  • theTolY (float) –
Return type:

None

Return type:

None

thisown

The membership flag

OCC.BRepMesh.BRepMesh_VertexInspector_IsEqual(*args)
Parameters:
  • theIdx (Standard_Integer) –
  • theTarget (Standard_Integer) –
Return type:

bool

class OCC.BRepMesh.BRepMesh_VertexTool(*args)

Bases: object

Add()
  • Adds a vertex to the tool.
Parameters:
  • theVertex (BRepMesh_Vertex &) –
  • theParams (BRepMesh_ListOfInteger &) –
Return type:

int

  • Adds a vertex to the tool.
Parameters:theVertex (BRepMesh_Vertex &) –
Return type:int
Delete()
  • Deletes a vertex from the tool.
Parameters:theIndex (Standard_Integer) –
Return type:None
Extent()
  • Returns a number of vertices.
Return type:int
FindFromIndex()
  • Returns data assigned to theIndex.
Parameters:theIndex (Standard_Integer) –
Return type:BRepMesh_ListOfInteger
FindIndex()
  • Returns an index of theVertex.
Parameters:theVertex (BRepMesh_Vertex &) –
Return type:int
FindKey()
  • Selects the vertex by theIndex.
Parameters:theIndex (Standard_Integer) –
Return type:BRepMesh_Vertex
GetListOfDelNodes()
  • Returns the list with indexes of vertices that have Movability attribute equal to BRepMesh_Deleted and can be replaced with another node.
Return type:BRepMesh_ListOfInteger
IsEmpty()
  • Returns True when the map contains no keys.
Return type:bool
RemoveLast()
  • Remove last node from the structure.
Return type:None
SetCellSize()
  • Sets new size for cellfilter.
Parameters:theSize (float) –
Return type:None
  • Sets new size for cellfilter.
Parameters:
  • theXSize (float) –
  • theYSize (float) –
Return type:

None

SetTolerance()
  • Sets new size for cellfilter.
Parameters:theTol (float) –
Return type:None
  • Sets new size for cellfilter.
Parameters:
  • theTolX (float) –
  • theTolY (float) –
Return type:

None

StatisticsToString()

BRepMesh_VertexTool_StatisticsToString(BRepMesh_VertexTool self) -> std::string

Substitute()
  • Substitutes vertex with Index on theVertex with attributes theData.
Parameters:
  • Index (Standard_Integer) –
  • theVertex (BRepMesh_Vertex &) –
  • theData (BRepMesh_ListOfInteger &) –
Return type:

None

thisown

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DataMapNodeOfDataMapOfFaceAttribute(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DataMapNodeOfDataMapOfIntegerListOfInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DataMapNodeOfDataMapOfIntegerListOfXY(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DataMapNodeOfDataMapOfIntegerPnt(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DataMapNodeOfDataMapOfShapePairOfPolygon(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DataMapNodeOfDataMapOfShapeReal(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DataMapNodeOfDataMapOfVertexInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DataStructureOfDelaun(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_DiscretRoot(*args)

Bases: OCC.Standard.Handle_Standard_Transient

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_FaceAttribute(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_FastDiscret(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_FastDiscretFace(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_HArray1OfVertexOfDelaun(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_IncrementalMesh(*args)

Bases: OCC.BRepMesh.Handle_BRepMesh_DiscretRoot

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_IndexedDataMapNodeOfIDMapOfLinkOfDataStructureOfDelaun(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_IndexedDataMapNodeOfIDMapOfNodeOfDataStructureOfDelaun(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_IndexedMapNodeOfIMapOfElementOfDataStructureOfDelaun(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_IndexedMapNodeOfIndexedMapOfVertex(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_ListNodeOfListOfVertex(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BRepMesh.Handle_BRepMesh_ListNodeOfListOfXY(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

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

Bases: object

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

The membership flag

value()
class OCC.BRepMesh.brepmesh(*args, **kwargs)

Bases: object

static Mesh(*args)
  • call to incremental mesh.
Parameters:
  • S (TopoDS_Shape &) –
  • d (float) –
Return type:

void

thisown

The membership flag

OCC.BRepMesh.brepmesh_Mesh(*args)
  • call to incremental mesh.
Parameters:
  • S (TopoDS_Shape &) –
  • d (float) –
Return type:

void