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

Public Member Functions

ConstDipole __getitem__ (self, ConstNodeId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ConstDipole] __iter__ (self)
int __len__ (self)
ConstDipole back (self)
NodeId backId (self)
NodeId beginId (self)
int capacity (self)
ConstDipole data (self)
bool empty (self)
NodeId endId (self)
ConstDipole front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_Dipole_Allocator_Dipole vec (self)

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Dipoles

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __getitem__()

ConstDipole mrmeshpy.ConstDipoles.__getitem__ ( self,
ConstNodeId i )

◆ __iter__()

typing.Iterator[ConstDipole] mrmeshpy.ConstDipoles.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstDipoles.__len__ ( self)

◆ back()

ConstDipole mrmeshpy.ConstDipoles.back ( self)

Reimplemented in mrmeshpy.Dipoles, and mrmeshpy.Dipoles.

◆ backId()

NodeId mrmeshpy.ConstDipoles.backId ( self)
returns the identifier of the back() element

◆ beginId()

NodeId mrmeshpy.ConstDipoles.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstDipoles.capacity ( self)

◆ data()

ConstDipole mrmeshpy.ConstDipoles.data ( self)

Reimplemented in mrmeshpy.Dipoles, and mrmeshpy.Dipoles.

◆ empty()

bool mrmeshpy.ConstDipoles.empty ( self)

◆ endId()

NodeId mrmeshpy.ConstDipoles.endId ( self)
returns backId() + 1

◆ front()

ConstDipole mrmeshpy.ConstDipoles.front ( self)

Reimplemented in mrmeshpy.Dipoles, and mrmeshpy.Dipoles.

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstDipoles.max_size ( self)

◆ size()

int mrmeshpy.ConstDipoles.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.Dipoles, and mrmeshpy.Dipoles.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstDipoles._offsetof_vec = 0
staticprotected

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