MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstTriMesh:

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVertCoords points (self)
ConstTriangulation tris (self)

Static Public Member Functions

TriMesh fromMesh (ConstMesh mesh)
TriMesh fromMesh (Mesh mesh)

Static Protected Attributes

typing _offsetof_points = 24
typing _offsetof_tris = 0

Detailed Description

Generated from:  MR::TriMesh

very simple structure for storing mesh of triangles only,
without easy navigation between neighbor elements as in Mesh

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstTriMesh, tris: meshlib.mrmeshpy.ConstTriangulation, points: meshlib.mrmeshpy.ConstVertCoords) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ fromMesh() [1/2]

TriMesh mrmeshpy.ConstTriMesh.fromMesh ( ConstMesh mesh)
static
constructs TriMesh from valid triangles of given mesh; invalid faces get invalid vertex ids in the result

◆ fromMesh() [2/2]

TriMesh mrmeshpy.ConstTriMesh.fromMesh ( Mesh mesh)
static
constructs TriMesh from valid triangles of given mesh; points of the mesh will be moved in the result

◆ points()

ConstVertCoords mrmeshpy.ConstTriMesh.points ( self)

Reimplemented in mrmeshpy.TriMesh, and mrmeshpy.TriMesh.

◆ tris()

ConstTriangulation mrmeshpy.ConstTriMesh.tris ( self)

Reimplemented in mrmeshpy.TriMesh, and mrmeshpy.TriMesh.

Member Data Documentation

◆ _offsetof_points

typing mrmeshpy.ConstTriMesh._offsetof_points = 24
staticprotected

◆ _offsetof_tris

typing mrmeshpy.ConstTriMesh._offsetof_tris = 0
staticprotected

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