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