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

Public Member Functions

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

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

float mrmeshpy.ConstVertScalars.__getitem__ ( self,
ConstVertId i )

◆ __iter__()

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

◆ __len__()

int mrmeshpy.ConstVertScalars.__len__ ( self)

◆ __ne__()

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

◆ back()

float mrmeshpy.ConstVertScalars.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstVertScalars.capacity ( self)

◆ data()

float mrmeshpy.ConstVertScalars.data ( self)

◆ empty()

bool mrmeshpy.ConstVertScalars.empty ( self)

◆ endId()

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

◆ front()

float mrmeshpy.ConstVertScalars.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVertScalars.max_size ( self)

◆ size()

int mrmeshpy.ConstVertScalars.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.VertScalars, and mrmeshpy.VertScalars.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVertScalars._offsetof_vec = 0
staticprotected

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