mymesh.implicit.union#

mymesh.implicit.union(f1, f2)[source]#

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

This is the generic interface to unionv(), unionf(), unions()

Parameters:
  • f1 (scalar, np.ndarray, sp.Basic, or callable) – Value(s) of the first function

  • f2 (scalar, np.ndarray, sp.Basic, or callable) – Value(s) of the second function

Returns:

union_val – Union of the two sets of values

Return type:

scalar, np.ndarray, or callable