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

Public Member Functions

bool __eq__ (self, ConstVertCoords2 b)
ConstVector2f __getitem__ (self, ConstVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ConstVector2f] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVertCoords2 b)
ConstVector2f back (self)
VertId backId (self)
VertId beginId (self)
int capacity (self)
ConstVector2f data (self)
bool empty (self)
VertId endId (self)
ConstVector2f front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_Vector2_float_Allocator_Vector2_float vec (self)

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::VertCoords2
Aliases:  VertUVCoords

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstVector2f mrmeshpy.ConstVertCoords2.__getitem__ ( self,
ConstVertId i )

◆ __iter__()

typing.Iterator[ConstVector2f] mrmeshpy.ConstVertCoords2.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVertCoords2.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstVector2f mrmeshpy.ConstVertCoords2.back ( self)

◆ backId()

VertId mrmeshpy.ConstVertCoords2.backId ( self)
returns the identifier of the back() element

◆ beginId()

VertId mrmeshpy.ConstVertCoords2.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVertCoords2.capacity ( self)

◆ data()

ConstVector2f mrmeshpy.ConstVertCoords2.data ( self)

◆ empty()

bool mrmeshpy.ConstVertCoords2.empty ( self)

◆ endId()

VertId mrmeshpy.ConstVertCoords2.endId ( self)
returns backId() + 1

◆ front()

ConstVector2f mrmeshpy.ConstVertCoords2.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVertCoords2.max_size ( self)

◆ size()

int mrmeshpy.ConstVertCoords2.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.VertCoords2, and mrmeshpy.VertCoords2.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVertCoords2._offsetof_vec = 0
staticprotected

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