mymesh.implicit.intersection#

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

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

intersection_val – Intersection of the two sets of values

Return type:

scalar or np.ndarray