Static Public Member Functions | |
| static meshlib.std_vector_std_string | getTypeNames () |
| static meshlib.Mesh | build (meshlib.Vector3f size, meshlib.fillingsurface.cellularsurface.Params params, meshlib.std_function_bool_from_float cb) |
| static meshlib.Mesh | fill (meshlib.Mesh mesh, meshlib.fillingsurface.cellularsurface.Params params, meshlib.std_function_bool_from_float cb) |
| static float | estimateDensity (float period, float width, float r) |
| static meshlib.std_optional_float | estimateWidth (float period, float r, float targetDensity) |
The free functions of this namespace.
|
static |
Build a cellular surface of size size Generated from function MR::FillingSurface::CellularSurface::build.
Calls MR_FillingSurface_CellularSurface_build(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Estimate the density of the cellular surface Generated from function MR::FillingSurface::CellularSurface::estimateDensity.
Calls MR_FillingSurface_CellularSurface_estimateDensity().
|
static |
Estimate the width that is needed to attain the targetDensity. Inverse of estimateDensity.
Calls MR_FillingSurface_CellularSurface_estimateWidth().
|
static |
Fill given mesh with a cellular surface Generated from function MR::FillingSurface::CellularSurface::fill.
Calls MR_FillingSurface_CellularSurface_fill(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Returns the names for each type of filling Generated from function MR::FillingSurface::CellularSurface::getTypeNames.
Calls MR_FillingSurface_CellularSurface_getTypeNames().