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

Public Member Functions

bool __eq__ (self, ConstEdges b)
Const_std_array_Id_VertTag_2 __getitem__ (self, ConstUndirectedEdgeId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[std_array_Id_VertTag_2] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstEdges b)
Const_std_array_Id_VertTag_2 back (self)
UndirectedEdgeId backId (self)
UndirectedEdgeId beginId (self)
int capacity (self)
Const_std_array_Id_VertTag_2 data (self)
bool empty (self)
UndirectedEdgeId endId (self)
Const_std_array_Id_VertTag_2 front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul vec (self)

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Edges

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

2. __init__(self: meshlib.mrmeshpy.ConstEdges, size: int) -> None

creates a vector with \\p size elements with default value

3. __init__(self: meshlib.mrmeshpy.ConstEdges, size: int, val: meshlib.mrmeshpy.Const_std_array_Id_VertTag_2) -> None

creates a vector with \\p size elements with the given value

4. __init__(self: meshlib.mrmeshpy.ConstEdges, arg0: list) -> None

5. __init__(self: meshlib.mrmeshpy.ConstEdges, arg0: meshlib.mrmeshpy.ConstEdges) -> None

Implicit copy constructor.

6. __init__(self: meshlib.mrmeshpy.ConstEdges, : meshlib.mrmeshpy.ConstEdges) -> None

Member Function Documentation

◆ __eq__()

bool mrmeshpy.ConstEdges.__eq__ ( self,
ConstEdges b )

◆ __getitem__()

Const_std_array_Id_VertTag_2 mrmeshpy.ConstEdges.__getitem__ ( self,
ConstUndirectedEdgeId i )

◆ __iter__()

typing.Iterator[std_array_Id_VertTag_2] mrmeshpy.ConstEdges.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstEdges.__len__ ( self)

◆ __ne__()

bool mrmeshpy.ConstEdges.__ne__ ( self,
ConstEdges b )

◆ back()

Const_std_array_Id_VertTag_2 mrmeshpy.ConstEdges.back ( self)

Reimplemented in mrmeshpy.Edges, and mrmeshpy.Edges.

◆ backId()

UndirectedEdgeId mrmeshpy.ConstEdges.backId ( self)
returns the identifier of the back() element

◆ beginId()

UndirectedEdgeId mrmeshpy.ConstEdges.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstEdges.capacity ( self)

◆ data()

Const_std_array_Id_VertTag_2 mrmeshpy.ConstEdges.data ( self)

Reimplemented in mrmeshpy.Edges, and mrmeshpy.Edges.

◆ empty()

bool mrmeshpy.ConstEdges.empty ( self)

◆ endId()

UndirectedEdgeId mrmeshpy.ConstEdges.endId ( self)
returns backId() + 1

◆ front()

Const_std_array_Id_VertTag_2 mrmeshpy.ConstEdges.front ( self)

Reimplemented in mrmeshpy.Edges, and mrmeshpy.Edges.

◆ heapBytes()

int mrmeshpy.ConstEdges.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ max_size()

int mrmeshpy.ConstEdges.max_size ( self)

◆ size()

int mrmeshpy.ConstEdges.size ( self)

◆ vec()

The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented in mrmeshpy.Edges, and mrmeshpy.Edges.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstEdges._offsetof_vec = 0
staticprotected

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