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

Public Member Functions

 __init__ (self, *args)
 __repr__ (self)
 value (self)
 value (self, v)

Static Public Attributes

 values = ...

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.

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.float_output, arg0: int) -> None

3. __init__(self: meshlib.mrmeshpy.float_output, arg0: int, arg1: float) -> None

Member Function Documentation

◆ __repr__()

mrmeshpy.float_output.__repr__ ( self)
__repr__(self: meshlib.mrmeshpy.float_output) -> str

◆ value() [1/2]

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

◆ value() [2/2]

mrmeshpy.float_output.value ( self,
v )

Member Data Documentation

◆ values

mrmeshpy.float_output.values = ...
static

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