MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.FaceNormals Class Reference

Public Member Functions

bool __eq__ (self, FaceNormals b)
 
None __init__ (self)
 
None __init__ (self, int size)
 
None __init__ (self, int size, Vector3f val)
 
None __init__ (self, std_vector_Vector3_float vec)
 
None __init__ (self, FaceNormals arg0)
 
typing.Iterator[Vector3f__iter__ (self)
 
bool __ne__ (self, FaceNormals b)
 
Vector3f autoResizeAt (self, FaceId i)
 
None autoResizeSet (self, FaceId pos, int len, Vector3f val)
 
None autoResizeSet (self, FaceId i, Vector3f val)
 
Vector3f back (self)
 
Vector3f back (self)
 
FaceId backId (self)
 
FaceId beginId (self)
 
int capacity (self)
 
None clear (self)
 
Vector3f data (self)
 
Vector3f data (self)
 
bool empty (self)
 
FaceId endId (self)
 
Vector3f front (self)
 
Vector3f front (self)
 
int heapBytes (self)
 
None pop_back (self)
 
None push_back (self, Vector3f t)
 
None push_back (self, Vector3f t)
 
None reserve (self, int capacity)
 
None resize (self, int newSize)
 
None resize (self, int newSize, Vector3f t)
 
None resizeNoInit (self, int targetSize)
 
None resizeWithReserve (self, int newSize)
 
None resizeWithReserve (self, int newSize, Vector3f value)
 
int size (self)
 
None swap (self, FaceNormals b)
 
std_vector_Vector3_float vec (self)
 
None vec (self, std_vector_Vector3_float arg1)
 
std_vector_Vector3_float vec_ (self)
 
None vec_ (self, std_vector_Vector3_float arg1)
 

Protected Member Functions

Vector3f _Subscript (self, FaceId i)
 
Vector3f _Subscript (self, FaceId i)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::FaceNormals


 \\brief std::vector<T>-like container that requires specific indexing type,
 \\tparam T type of stored elements
 \\tparam I type of index (shall be convertible to size_t)
 \\ingroup BasicGroup

Constructor & Destructor Documentation

◆ __init__() [1/5]

None mrmeshpy.FaceNormals.__init__ ( self)

◆ __init__() [2/5]

None mrmeshpy.FaceNormals.__init__ ( self,
int size )

◆ __init__() [3/5]

None mrmeshpy.FaceNormals.__init__ ( self,
int size,
Vector3f val )

◆ __init__() [4/5]

None mrmeshpy.FaceNormals.__init__ ( self,
std_vector_Vector3_float vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

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

◆ __iter__()

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

◆ __ne__()

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

◆ _pybind11_conduit_v1_()

mrmeshpy.FaceNormals._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ _Subscript() [1/2]

Vector3f mrmeshpy.FaceNormals._Subscript ( self,
FaceId i )
protected

◆ _Subscript() [2/2]

Vector3f mrmeshpy.FaceNormals._Subscript ( self,
FaceId i )
protected

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

None mrmeshpy.FaceNormals.autoResizeSet ( self,
FaceId i,
Vector3f val )

◆ autoResizeSet() [2/2]

None mrmeshpy.FaceNormals.autoResizeSet ( self,
FaceId pos,
int len,
Vector3f val )
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements

◆ back() [1/2]

Vector3f mrmeshpy.FaceNormals.back ( self)

◆ back() [2/2]

Vector3f mrmeshpy.FaceNormals.back ( self)

◆ backId()

FaceId mrmeshpy.FaceNormals.backId ( self)
returns the identifier of the back() element

◆ beginId()

FaceId mrmeshpy.FaceNormals.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.FaceNormals.capacity ( self)

◆ clear()

None mrmeshpy.FaceNormals.clear ( self)

◆ data() [1/2]

Vector3f mrmeshpy.FaceNormals.data ( self)

◆ data() [2/2]

Vector3f mrmeshpy.FaceNormals.data ( self)

◆ empty()

bool mrmeshpy.FaceNormals.empty ( self)

◆ endId()

FaceId mrmeshpy.FaceNormals.endId ( self)
returns backId() + 1

◆ front() [1/2]

Vector3f mrmeshpy.FaceNormals.front ( self)

◆ front() [2/2]

Vector3f mrmeshpy.FaceNormals.front ( self)

◆ heapBytes()

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

◆ pop_back()

None mrmeshpy.FaceNormals.pop_back ( self)

◆ push_back() [1/2]

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

◆ push_back() [2/2]

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

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.FaceNormals.resize ( self,
int newSize,
Vector3f t )

◆ resizeNoInit()

None mrmeshpy.FaceNormals.resizeNoInit ( self,
int targetSize )
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )

◆ resizeWithReserve() [1/2]

None mrmeshpy.FaceNormals.resizeWithReserve ( self,
int newSize )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ resizeWithReserve() [2/2]

None mrmeshpy.FaceNormals.resizeWithReserve ( self,
int newSize,
Vector3f value )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ size()

int mrmeshpy.FaceNormals.size ( self)

◆ swap()

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

◆ vec() [1/2]

std_vector_Vector3_float mrmeshpy.FaceNormals.vec ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec() [2/2]

None mrmeshpy.FaceNormals.vec ( self,
std_vector_Vector3_float arg1 )

◆ vec_() [1/2]

std_vector_Vector3_float mrmeshpy.FaceNormals.vec_ ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec_() [2/2]

None mrmeshpy.FaceNormals.vec_ ( self,
std_vector_Vector3_float arg1 )

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