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

Public Member Functions

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

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::VertCoords
Aliases:  VertNormals

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstVector3f mrmeshpy.ConstVertCoords.__getitem__ ( self,
ConstVertId i )

◆ __iter__()

typing.Iterator[ConstVector3f] mrmeshpy.ConstVertCoords.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVertCoords.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstVector3f mrmeshpy.ConstVertCoords.back ( self)

Reimplemented in mrmeshpy.VertCoords, and mrmeshpy.VertCoords.

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstVertCoords.capacity ( self)

◆ data()

ConstVector3f mrmeshpy.ConstVertCoords.data ( self)

Reimplemented in mrmeshpy.VertCoords, and mrmeshpy.VertCoords.

◆ empty()

bool mrmeshpy.ConstVertCoords.empty ( self)

◆ endId()

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

◆ front()

ConstVector3f mrmeshpy.ConstVertCoords.front ( self)

Reimplemented in mrmeshpy.VertCoords, and mrmeshpy.VertCoords.

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVertCoords.max_size ( self)

◆ size()

int mrmeshpy.ConstVertCoords.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.VertCoords, and mrmeshpy.VertCoords.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVertCoords._offsetof_vec = 0
staticprotected

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