mymesh.implicit.intersectionf#

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

Boolean intersection of two functions. Negative values are assumed to be “inside”. An R-function rMax() maximum 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:

intersection_fun – Intersection of the two functions

Return type:

callable