MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MeshComponents.ConstComponentsFaces Class Reference
Inheritance diagram for mrmeshpy.MeshComponents.ConstComponentsFaces:

Public Member Functions

 __init__ (self, *args, **kwargs)
None setComponentBits (self, ConstRegionId compId, FaceBitSet bs)
Const_std_vector_Id_FaceTag faces (self)
ConstVector_int_RegionId offsets (self)

Static Protected Attributes

typing _offsetof_faces = 0
typing _offsetof_offsets = 24

Detailed Description

Generated from:  MR::MeshComponents::ComponentsFaces

faces of all components in one flat array

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.MeshComponents.ConstComponentsFaces.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.MeshComponents.ConstComponentsFaces) -> None

2. __init__(self: meshlib.mrmeshpy.MeshComponents.ConstComponentsFaces, arg0: meshlib.mrmeshpy.MeshComponents.ConstComponentsFaces) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.MeshComponents.ConstComponentsFaces, faces: meshlib.mrmeshpy.Const_std_vector_Id_FaceTag, offsets: meshlib.mrmeshpy.ConstVector_int_RegionId) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.MeshComponents.ConstComponentsFaces, : meshlib.mrmeshpy.MeshComponents.ConstComponentsFaces) -> None

Member Function Documentation

◆ faces()

Const_std_vector_Id_FaceTag mrmeshpy.MeshComponents.ConstComponentsFaces.faces ( self)
faces of component 0, then faces of component 1, ...;
the faces of component i are faces[offsets[i]], ..., faces[offsets[i+1]-1] in increasing order

Reimplemented in mrmeshpy.MeshComponents.ComponentsFaces, and mrmeshpy.MeshComponents.ComponentsFaces.

◆ offsets()

ConstVector_int_RegionId mrmeshpy.MeshComponents.ConstComponentsFaces.offsets ( self)
the number of components + 1 elements, offsets.back() == faces.size()

Reimplemented in mrmeshpy.MeshComponents.ComponentsFaces, and mrmeshpy.MeshComponents.ComponentsFaces.

◆ setComponentBits()

None mrmeshpy.MeshComponents.ConstComponentsFaces.setComponentBits ( self,
ConstRegionId compId,
FaceBitSet bs )
sets in given bit set the bits of all faces of component compId; bs must be large enough to contain them

Member Data Documentation

◆ _offsetof_faces

typing mrmeshpy.MeshComponents.ConstComponentsFaces._offsetof_faces = 0
staticprotected

◆ _offsetof_offsets

typing mrmeshpy.MeshComponents.ConstComponentsFaces._offsetof_offsets = 24
staticprotected

The documentation for this class was generated from the following file: