mymesh.implicit.unionf#
- mymesh.implicit.unionf(f1, f2)[source]#
Boolean union of two functions. Negative values are assumed to be “inside”. An R-function
rMin()
minimum is used to obtain a continuously differentiable output.- Parameters:
f1 (callable) – Callable function of three variables (x, y, z). Function should be able to handle either scalar or vector inputs.
f2 (callable) – Callable function of three variables (x, y, z). Function should be able to handle either scalar or vector inputs.
- Returns:
union_fun – Union function
- Return type:
callable