Public Member Functions | |
| bool | __eq__ (self, ConstFaceColors b) |
| ConstColor | __getitem__ (self, ConstFaceId i) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[ConstColor] | __iter__ (self) |
| int | __len__ (self) |
| bool | __ne__ (self, ConstFaceColors b) |
| ConstColor | back (self) |
| FaceId | backId (self) |
| FaceId | beginId (self) |
| int | capacity (self) |
| ConstColor | data (self) |
| bool | empty (self) |
| FaceId | 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 |
Generated from: MR::FaceColors Aliases: ColorMapAggregator_FaceTag_ColorMap Vector<T> is indexed by size_t
| mrmeshpy.ConstFaceColors.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstFaceColors) -> None creates empty vector 2. __init__(self: meshlib.mrmeshpy.ConstFaceColors, size: int) -> None creates a vector with \\p size elements with default value 3. __init__(self: meshlib.mrmeshpy.ConstFaceColors, size: int, val: meshlib.mrmeshpy.ConstColor) -> None creates a vector with \\p size elements with the given value 4. __init__(self: meshlib.mrmeshpy.ConstFaceColors, arg0: list) -> None 5. __init__(self: meshlib.mrmeshpy.ConstFaceColors, arg0: meshlib.mrmeshpy.ConstFaceColors) -> None Implicit copy constructor. 6. __init__(self: meshlib.mrmeshpy.ConstFaceColors, : meshlib.mrmeshpy.ConstFaceColors) -> None
| bool mrmeshpy.ConstFaceColors.__eq__ | ( | self, | |
| ConstFaceColors | b ) |
| ConstColor mrmeshpy.ConstFaceColors.__getitem__ | ( | self, | |
| ConstFaceId | i ) |
| typing.Iterator[ConstColor] mrmeshpy.ConstFaceColors.__iter__ | ( | self | ) |
| int mrmeshpy.ConstFaceColors.__len__ | ( | self | ) |
| bool mrmeshpy.ConstFaceColors.__ne__ | ( | self, | |
| ConstFaceColors | b ) |
| ConstColor mrmeshpy.ConstFaceColors.back | ( | self | ) |
Reimplemented in mrmeshpy.FaceColors, and mrmeshpy.FaceColors.
| FaceId mrmeshpy.ConstFaceColors.backId | ( | self | ) |
returns the identifier of the back() element
| FaceId mrmeshpy.ConstFaceColors.beginId | ( | self | ) |
returns the identifier of the first element
| int mrmeshpy.ConstFaceColors.capacity | ( | self | ) |
| ConstColor mrmeshpy.ConstFaceColors.data | ( | self | ) |
Reimplemented in mrmeshpy.FaceColors, and mrmeshpy.FaceColors.
| bool mrmeshpy.ConstFaceColors.empty | ( | self | ) |
| FaceId mrmeshpy.ConstFaceColors.endId | ( | self | ) |
returns backId() + 1
| ConstColor mrmeshpy.ConstFaceColors.front | ( | self | ) |
Reimplemented in mrmeshpy.FaceColors, and mrmeshpy.FaceColors.
| int mrmeshpy.ConstFaceColors.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
| int mrmeshpy.ConstFaceColors.max_size | ( | self | ) |
| int mrmeshpy.ConstFaceColors.size | ( | self | ) |
| Const_std_vector_Color_Allocator_Color mrmeshpy.ConstFaceColors.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented in mrmeshpy.FaceColors, and mrmeshpy.FaceColors.
|
staticprotected |