mymesh.implicit.unions#

mymesh.implicit.unions(symfun1, symfun2)[source]#

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

Parameters:
  • symfun1 (sympy function) – Symbolic sympy function of three variables (x, y, z).

  • symfun2 (sympy function) – Symbolic sympy function of three variables (x, y, z).

Returns:

union_sym – Symbolic union function

Return type:

Scalar or np.ndarray