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

Public Member Functions

bool __eq__ (self, ConstUndirectedEdgeScalars b)
float __getitem__ (self, ConstUndirectedEdgeId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[float] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstUndirectedEdgeScalars b)
float back (self)
UndirectedEdgeId backId (self)
UndirectedEdgeId beginId (self)
int capacity (self)
float data (self)
bool empty (self)
UndirectedEdgeId 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

Detailed Description

Generated from:  MR::UndirectedEdgeScalars

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

float mrmeshpy.ConstUndirectedEdgeScalars.__getitem__ ( self,
ConstUndirectedEdgeId i )

◆ __iter__()

typing.Iterator[float] mrmeshpy.ConstUndirectedEdgeScalars.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstUndirectedEdgeScalars.__len__ ( self)

◆ __ne__()

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

◆ back()

float mrmeshpy.ConstUndirectedEdgeScalars.back ( self)

◆ backId()

UndirectedEdgeId mrmeshpy.ConstUndirectedEdgeScalars.backId ( self)
returns the identifier of the back() element

◆ beginId()

UndirectedEdgeId mrmeshpy.ConstUndirectedEdgeScalars.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstUndirectedEdgeScalars.capacity ( self)

◆ data()

float mrmeshpy.ConstUndirectedEdgeScalars.data ( self)

◆ empty()

bool mrmeshpy.ConstUndirectedEdgeScalars.empty ( self)

◆ endId()

UndirectedEdgeId mrmeshpy.ConstUndirectedEdgeScalars.endId ( self)
returns backId() + 1

◆ front()

float mrmeshpy.ConstUndirectedEdgeScalars.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstUndirectedEdgeScalars.max_size ( self)

◆ size()

int mrmeshpy.ConstUndirectedEdgeScalars.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.UndirectedEdgeScalars, and mrmeshpy.UndirectedEdgeScalars.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstUndirectedEdgeScalars._offsetof_vec = 0
staticprotected

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