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