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

Public Member Functions

bool __eq__ (self, ConstVector_int_VertId b)
int __getitem__ (self, ConstVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[int] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_int_VertId b)
int back (self)
VertId backId (self)
VertId beginId (self)
int capacity (self)
int data (self)
bool empty (self)
VertId endId (self)
int front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_int_Allocator_int vec (self)

Static Public Attributes

 ConstStdVector = Const_std_vector_int_Allocator_int
 StdVector = std_vector_int_Allocator_int

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<int, MR::VertId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

int mrmeshpy.ConstVector_int_VertId.__getitem__ ( self,
ConstVertId i )

◆ __iter__()

typing.Iterator[int] mrmeshpy.ConstVector_int_VertId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_int_VertId.__len__ ( self)

◆ __ne__()

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

◆ back()

int mrmeshpy.ConstVector_int_VertId.back ( self)

◆ backId()

VertId mrmeshpy.ConstVector_int_VertId.backId ( self)
returns the identifier of the back() element

◆ beginId()

VertId mrmeshpy.ConstVector_int_VertId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_int_VertId.capacity ( self)

◆ data()

int mrmeshpy.ConstVector_int_VertId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_int_VertId.empty ( self)

◆ endId()

VertId mrmeshpy.ConstVector_int_VertId.endId ( self)
returns backId() + 1

◆ front()

int mrmeshpy.ConstVector_int_VertId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_int_VertId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_int_VertId.size ( self)

◆ vec()

Const_std_vector_int_Allocator_int mrmeshpy.ConstVector_int_VertId.vec ( self)
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented in mrmeshpy.Vector_int_VertId, and mrmeshpy.Vector_int_VertId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_int_VertId._offsetof_vec = 0
staticprotected

◆ ConstStdVector

mrmeshpy.ConstVector_int_VertId.ConstStdVector = Const_std_vector_int_Allocator_int
static

◆ StdVector

mrmeshpy.ConstVector_int_VertId.StdVector = std_vector_int_Allocator_int
static

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