MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.VertCoords:

Public Member Functions

Vector3f __getitem__ (self, ConstVertId i)
ConstVector3f __getitem__ (ConstVertCoords self, ConstVertId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstVector3f val)
None __init__ (self, list arg0)
None __init__ (self, ConstVertCoords arg0)
typing.Iterator[Vector3f] __iter__ (self)
typing.Iterator[ConstVector3f] __iter__ (ConstVertCoords self)
None __setitem__ (self, ConstVertId arg0, ConstVector3f arg1)
VertCoords assign (self, ConstVertCoords other)
None assign (self, int count, ConstVector3f val)
Vector3f autoResizeAt (self, ConstVertId i)
None autoResizeSet (self, ConstVertId pos, int len, ConstVector3f val)
None autoResizeSet (self, ConstVertId i, ConstVector3f val)
Vector3f back (self)
ConstVector3f back (ConstVertCoords self)
None clear (self)
Vector3f data (self)
ConstVector3f data (ConstVertCoords self)
Vector3f front (self)
ConstVector3f front (ConstVertCoords self)
None pop_back (self)
None push_back (self, ConstVector3f t)
None push_back (self, Vector3f t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstVector3f t)
None resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact')
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstVector3f value)
None shrink_to_fit (self)
None swap (self, VertCoords b)
std_vector_Vector3_float_Allocator_Vector3_float vec (self)
None vec (self, Const_std_vector_Vector3_float_Allocator_Vector3_float arg1)
Public Member Functions inherited from mrmeshpy.ConstVertCoords
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)
VertId backId (self)
VertId beginId (self)
int capacity (self)
bool empty (self)
VertId endId (self)
int heapBytes (self)
int max_size (self)
int size (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstVertCoords
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::VertCoords
Aliases:  VertNormals

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.VertCoords.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.VertCoords.__init__ ( self)
creates empty vector

◆ __init__() [3/6]

None mrmeshpy.VertCoords.__init__ ( self,
int size )
creates a vector with \\p size elements with default value

◆ __init__() [4/6]

None mrmeshpy.VertCoords.__init__ ( self,
int size,
ConstVector3f val )
creates a vector with \\p size elements with the given value

◆ __init__() [5/6]

None mrmeshpy.VertCoords.__init__ ( self,
list arg0 )

◆ __init__() [6/6]

None mrmeshpy.VertCoords.__init__ ( self,
ConstVertCoords arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

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

◆ __getitem__() [2/2]

Vector3f mrmeshpy.VertCoords.__getitem__ ( self,
ConstVertId i )

◆ __iter__() [1/2]

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

◆ __iter__() [2/2]

typing.Iterator[Vector3f] mrmeshpy.VertCoords.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.VertCoords.__setitem__ ( self,
ConstVertId arg0,
ConstVector3f arg1 )

◆ assign() [1/2]

VertCoords mrmeshpy.VertCoords.assign ( self,
ConstVertCoords other )

◆ assign() [2/2]

None mrmeshpy.VertCoords.assign ( self,
int count,
ConstVector3f val )
replaces the contents with \\p count copies of \\p val

◆ autoResizeAt()

Vector3f mrmeshpy.VertCoords.autoResizeAt ( self,
ConstVertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.VertCoords.autoResizeSet ( self,
ConstVertId i,
ConstVector3f val )
sets the element i to the given value, adjusting the size of the vector to include new element

◆ autoResizeSet() [2/2]

None mrmeshpy.VertCoords.autoResizeSet ( self,
ConstVertId pos,
int len,
ConstVector3f val )
sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements;
the elements in between old size and \\p pos are also set to \\p val (for faster implementation)

◆ back() [1/2]

ConstVector3f mrmeshpy.VertCoords.back ( ConstVertCoords self)

Reimplemented from mrmeshpy.ConstVertCoords.

◆ back() [2/2]

Vector3f mrmeshpy.VertCoords.back ( self)

Reimplemented from mrmeshpy.ConstVertCoords.

◆ clear()

None mrmeshpy.VertCoords.clear ( self)

◆ data() [1/2]

ConstVector3f mrmeshpy.VertCoords.data ( ConstVertCoords self)

Reimplemented from mrmeshpy.ConstVertCoords.

◆ data() [2/2]

Vector3f mrmeshpy.VertCoords.data ( self)

Reimplemented from mrmeshpy.ConstVertCoords.

◆ front() [1/2]

ConstVector3f mrmeshpy.VertCoords.front ( ConstVertCoords self)

Reimplemented from mrmeshpy.ConstVertCoords.

◆ front() [2/2]

Vector3f mrmeshpy.VertCoords.front ( self)

Reimplemented from mrmeshpy.ConstVertCoords.

◆ pop_back()

None mrmeshpy.VertCoords.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.VertCoords.push_back ( self,
ConstVector3f t )

◆ push_back() [2/2]

None mrmeshpy.VertCoords.push_back ( self,
Vector3f t )

◆ reserve()

None mrmeshpy.VertCoords.reserve ( self,
int capacity )

◆ resize() [1/2]

None mrmeshpy.VertCoords.resize ( self,
int newSize )

◆ resize() [2/2]

None mrmeshpy.VertCoords.resize ( self,
int newSize,
ConstVector3f t )

◆ resizeNoInit()

None mrmeshpy.VertCoords.resizeNoInit ( self,
int targetSize,
ReserveMode mode = 'MR::ReserveMode::Exact' )
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )

◆ resizeWithReserve() [1/2]

None mrmeshpy.VertCoords.resizeWithReserve ( self,
int newSize )
same as resize(newSize), which already grows the capacity geometrically

◆ resizeWithReserve() [2/2]

None mrmeshpy.VertCoords.resizeWithReserve ( self,
int newSize,
ConstVector3f value )
same as resize(newSize, value), which already grows the capacity geometrically

◆ shrink_to_fit()

None mrmeshpy.VertCoords.shrink_to_fit ( self)

◆ swap()

None mrmeshpy.VertCoords.swap ( self,
VertCoords b )

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVertCoords.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVertCoords.


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