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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstMesh mesh (self)
FaceBitSet region (self)

Static Protected Attributes

typing _offsetof_mesh = 0
typing _offsetof_region = 8

Detailed Description

Generated from:  MR::MeshPart

stores reference on whole mesh (if region is nullptr) or on its part (if region pointer is valid)

Constructor & Destructor Documentation

◆ __init__()

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

1. __init__(self: meshlib.mrmeshpy.ConstMeshPart, m: meshlib.mrmeshpy.ConstMesh, bs: meshlib.mrmeshpy.ConstFaceBitSet = None) -> None

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMeshPart, other: meshlib.mrmeshpy.ConstMeshPart) -> None

Make this assignable. A better idea would be to rewrite the class to not use references, but doing this instead preserves API compatibility.

Member Function Documentation

◆ mesh()

ConstMesh mrmeshpy.ConstMeshPart.mesh ( self)

◆ region()

FaceBitSet mrmeshpy.ConstMeshPart.region ( self)
nullptr here means whole mesh

Reimplemented in mrmeshpy.MeshPart, and mrmeshpy.MeshPart.

Member Data Documentation

◆ _offsetof_mesh

typing mrmeshpy.ConstMeshPart._offsetof_mesh = 0
staticprotected

◆ _offsetof_region

typing mrmeshpy.ConstMeshPart._offsetof_region = 8
staticprotected

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