mymesh.implicit.union#

mymesh.implicit.union(fval1, fval2)[source]#

Boolean union of two values or sets of values. Negative values are assumed to be “inside”. An R-function rMin() minimum is used to obtain a continuously differentiable output.

Parameters:
  • fval1 (scalar or np.ndarray) – Value(s) of the first function

  • fval2 (scalar or np.ndarray) – Value(s) of the second function

Returns:

union_val – Union of the two sets of values

Return type:

scalar or np.ndarray