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

Public Member Functions

None __init__ (self)
 
None __init__ (self, int arg0)
 
None __init__ (self, int arg0, bool arg1)
 
str __repr__ (self)
 
str value (self)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

A helper class containing a list of scalars. This is used for functions with scalar output parameters.
NOTE: If a function outputs an array, you must manually resize this to the correct size or risk undefined behavior.
NOTE: This stores booleans. Writing anything other than 0 or 1 to it can cause undefined behavior.

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.bool_output.__init__ ( self)

◆ __init__() [2/3]

None mrmeshpy.bool_output.__init__ ( self,
int arg0 )

◆ __init__() [3/3]

None mrmeshpy.bool_output.__init__ ( self,
int arg0,
bool arg1 )

Member Function Documentation

◆ __repr__()

str mrmeshpy.bool_output.__repr__ ( self)

◆ _pybind11_conduit_v1_()

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

◆ value()

str mrmeshpy.bool_output.value ( self)
If the list contains exactly one value, returns it. Otherwise throws.

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