mymesh.implicit.diffs#

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

Boolean difference of two symbolic functions. Negative values are assumed to be “inside”. An R-function rMaxs() minimum is used to obtain a continuously differentiable output. Note that this operation is not symmetric so the order of inputs matters.

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:

diff_sym – Symbolic difference function

Return type:

sympy function