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

Public Member Functions

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

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::UndirectedEdgeColors
Aliases:  ColorMapAggregator_UndirectedEdgeTag_ColorMap

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstColor mrmeshpy.ConstUndirectedEdgeColors.__getitem__ ( self,
ConstUndirectedEdgeId i )

◆ __iter__()

typing.Iterator[ConstColor] mrmeshpy.ConstUndirectedEdgeColors.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstUndirectedEdgeColors.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstColor mrmeshpy.ConstUndirectedEdgeColors.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstUndirectedEdgeColors.capacity ( self)

◆ data()

ConstColor mrmeshpy.ConstUndirectedEdgeColors.data ( self)

◆ empty()

bool mrmeshpy.ConstUndirectedEdgeColors.empty ( self)

◆ endId()

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

◆ front()

ConstColor mrmeshpy.ConstUndirectedEdgeColors.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstUndirectedEdgeColors.max_size ( self)

◆ size()

int mrmeshpy.ConstUndirectedEdgeColors.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.UndirectedEdgeColors, and mrmeshpy.UndirectedEdgeColors.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstUndirectedEdgeColors._offsetof_vec = 0
staticprotected

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