Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstVertCoords2 | |
| typing | _offsetof_vec = 0 |
Generated from: MR::VertCoords2 Aliases: VertUVCoords Vector<T> is indexed by size_t
|
static |
| None mrmeshpy.VertCoords2.__init__ | ( | self | ) |
creates empty vector
| None mrmeshpy.VertCoords2.__init__ | ( | self, | |
| int | size ) |
creates a vector with \\p size elements with default value
| None mrmeshpy.VertCoords2.__init__ | ( | self, | |
| int | size, | ||
| ConstVector2f | val ) |
creates a vector with \\p size elements with the given value
| None mrmeshpy.VertCoords2.__init__ | ( | self, | |
| list | arg0 ) |
| None mrmeshpy.VertCoords2.__init__ | ( | self, | |
| ConstVertCoords2 | arg0 ) |
Implicit copy constructor.
| ConstVector2f mrmeshpy.VertCoords2.__getitem__ | ( | ConstVertCoords2 | self, |
| ConstVertId | i ) |
| Vector2f mrmeshpy.VertCoords2.__getitem__ | ( | self, | |
| ConstVertId | i ) |
| typing.Iterator[Vector2f] mrmeshpy.VertCoords2.__iter__ | ( | ConstVertCoords2 | self | ) |
| typing.Iterator[Vector2f] mrmeshpy.VertCoords2.__iter__ | ( | self | ) |
| None mrmeshpy.VertCoords2.__setitem__ | ( | self, | |
| ConstVertId | arg0, | ||
| ConstVector2f | arg1 ) |
| VertCoords2 mrmeshpy.VertCoords2.assign | ( | self, | |
| ConstVertCoords2 | other ) |
| None mrmeshpy.VertCoords2.assign | ( | self, | |
| int | count, | ||
| ConstVector2f | val ) |
replaces the contents with \\p count copies of \\p val
| Vector2f mrmeshpy.VertCoords2.autoResizeAt | ( | self, | |
| ConstVertId | i ) |
this accessor automatically adjusts the size of the vector
| None mrmeshpy.VertCoords2.autoResizeSet | ( | self, | |
| ConstVertId | i, | ||
| ConstVector2f | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element
| None mrmeshpy.VertCoords2.autoResizeSet | ( | self, | |
| ConstVertId | pos, | ||
| int | len, | ||
| ConstVector2f | val ) |
sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and \\p pos are also set to \\p val (for faster implementation)
| ConstVector2f mrmeshpy.VertCoords2.back | ( | ConstVertCoords2 | self | ) |
Reimplemented from mrmeshpy.ConstVertCoords2.
| Vector2f mrmeshpy.VertCoords2.back | ( | self | ) |
Reimplemented from mrmeshpy.ConstVertCoords2.
| None mrmeshpy.VertCoords2.clear | ( | self | ) |
| ConstVector2f mrmeshpy.VertCoords2.data | ( | ConstVertCoords2 | self | ) |
Reimplemented from mrmeshpy.ConstVertCoords2.
| Vector2f mrmeshpy.VertCoords2.data | ( | self | ) |
Reimplemented from mrmeshpy.ConstVertCoords2.
| ConstVector2f mrmeshpy.VertCoords2.front | ( | ConstVertCoords2 | self | ) |
Reimplemented from mrmeshpy.ConstVertCoords2.
| Vector2f mrmeshpy.VertCoords2.front | ( | self | ) |
Reimplemented from mrmeshpy.ConstVertCoords2.
| None mrmeshpy.VertCoords2.pop_back | ( | self | ) |
| None mrmeshpy.VertCoords2.push_back | ( | self, | |
| ConstVector2f | t ) |
| None mrmeshpy.VertCoords2.push_back | ( | self, | |
| Vector2f | t ) |
| None mrmeshpy.VertCoords2.reserve | ( | self, | |
| int | capacity ) |
| None mrmeshpy.VertCoords2.resize | ( | self, | |
| int | newSize ) |
| None mrmeshpy.VertCoords2.resize | ( | self, | |
| int | newSize, | ||
| ConstVector2f | t ) |
| None mrmeshpy.VertCoords2.resizeNoInit | ( | self, | |
| int | targetSize, | ||
| ReserveMode | mode = 'MR::ReserveMode::Exact' ) |
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )
| None mrmeshpy.VertCoords2.resizeWithReserve | ( | self, | |
| int | newSize ) |
same as resize(newSize), which already grows the capacity geometrically
| None mrmeshpy.VertCoords2.resizeWithReserve | ( | self, | |
| int | newSize, | ||
| ConstVector2f | value ) |
same as resize(newSize, value), which already grows the capacity geometrically
| None mrmeshpy.VertCoords2.shrink_to_fit | ( | self | ) |
| None mrmeshpy.VertCoords2.swap | ( | self, | |
| VertCoords2 | b ) |
| std_vector_Vector2_float_Allocator_Vector2_float mrmeshpy.VertCoords2.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstVertCoords2.
| None mrmeshpy.VertCoords2.vec | ( | self, | |
| Const_std_vector_Vector2_float_Allocator_Vector2_float | arg1 ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstVertCoords2.