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

Public Member Functions

bool __eq__ (self, ConstVector_double_RegionId b)
float __getitem__ (self, ConstRegionId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[float] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_double_RegionId b)
float back (self)
RegionId backId (self)
RegionId beginId (self)
int capacity (self)
float data (self)
bool empty (self)
RegionId endId (self)
float front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_double_Allocator_double vec (self)

Static Public Attributes

 ConstStdVector = Const_std_vector_double_Allocator_double
 StdVector = std_vector_double_Allocator_double

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<double, MR::RegionId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

float mrmeshpy.ConstVector_double_RegionId.__getitem__ ( self,
ConstRegionId i )

◆ __iter__()

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

◆ __len__()

int mrmeshpy.ConstVector_double_RegionId.__len__ ( self)

◆ __ne__()

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

◆ back()

float mrmeshpy.ConstVector_double_RegionId.back ( self)

◆ backId()

RegionId mrmeshpy.ConstVector_double_RegionId.backId ( self)
returns the identifier of the back() element

◆ beginId()

RegionId mrmeshpy.ConstVector_double_RegionId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_double_RegionId.capacity ( self)

◆ data()

float mrmeshpy.ConstVector_double_RegionId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_double_RegionId.empty ( self)

◆ endId()

RegionId mrmeshpy.ConstVector_double_RegionId.endId ( self)
returns backId() + 1

◆ front()

float mrmeshpy.ConstVector_double_RegionId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_double_RegionId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_double_RegionId.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.Vector_double_RegionId, and mrmeshpy.Vector_double_RegionId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_double_RegionId._offsetof_vec = 0
staticprotected

◆ ConstStdVector

mrmeshpy.ConstVector_double_RegionId.ConstStdVector = Const_std_vector_double_Allocator_double
static

◆ StdVector

mrmeshpy.ConstVector_double_RegionId.StdVector = std_vector_double_Allocator_double
static

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