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

Public Member Functions

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

Static Public Attributes

 ConstStdVector = Const_std_vector_Vector2_double_Allocator_Vector2_double
 Const_const_pointer = ConstVector2d
 Const_const_reference = ConstVector2d
 Const_pointer = ConstVector2d
 Const_reference = ConstVector2d
 Const_value_type = ConstVector2d
 StdVector = std_vector_Vector2_double_Allocator_Vector2_double
 const_pointer = Vector2d
 const_reference = Vector2d
 pointer = Vector2d
 reference = Vector2d
 value_type = Vector2d

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::Vector2d, MR::VertId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstVector2d mrmeshpy.ConstVector_Vector2d_VertId.__getitem__ ( self,
ConstVertId i )

◆ __iter__()

typing.Iterator[Vector2d] mrmeshpy.ConstVector_Vector2d_VertId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_Vector2d_VertId.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstVector2d mrmeshpy.ConstVector_Vector2d_VertId.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstVector_Vector2d_VertId.capacity ( self)

◆ data()

ConstVector2d mrmeshpy.ConstVector_Vector2d_VertId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_Vector2d_VertId.empty ( self)

◆ endId()

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

◆ front()

ConstVector2d mrmeshpy.ConstVector_Vector2d_VertId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_Vector2d_VertId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_Vector2d_VertId.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.Vector_Vector2d_VertId, and mrmeshpy.Vector_Vector2d_VertId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_Vector2d_VertId._offsetof_vec = 0
staticprotected

◆ Const_const_pointer

mrmeshpy.ConstVector_Vector2d_VertId.Const_const_pointer = ConstVector2d
static

◆ Const_const_reference

mrmeshpy.ConstVector_Vector2d_VertId.Const_const_reference = ConstVector2d
static

◆ Const_pointer

mrmeshpy.ConstVector_Vector2d_VertId.Const_pointer = ConstVector2d
static

◆ const_pointer

mrmeshpy.ConstVector_Vector2d_VertId.const_pointer = Vector2d
static

◆ Const_reference

mrmeshpy.ConstVector_Vector2d_VertId.Const_reference = ConstVector2d
static

◆ const_reference

mrmeshpy.ConstVector_Vector2d_VertId.const_reference = Vector2d
static

◆ Const_value_type

mrmeshpy.ConstVector_Vector2d_VertId.Const_value_type = ConstVector2d
static

◆ ConstStdVector

mrmeshpy.ConstVector_Vector2d_VertId.ConstStdVector = Const_std_vector_Vector2_double_Allocator_Vector2_double
static

◆ pointer

mrmeshpy.ConstVector_Vector2d_VertId.pointer = Vector2d
static

◆ reference

mrmeshpy.ConstVector_Vector2d_VertId.reference = Vector2d
static

◆ StdVector

mrmeshpy.ConstVector_Vector2d_VertId.StdVector = std_vector_Vector2_double_Allocator_Vector2_double
static

◆ value_type

mrmeshpy.ConstVector_Vector2d_VertId.value_type = Vector2d
static

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