mymesh.implicit.intersection#

mymesh.implicit.intersection(f1, f2)[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.

This is the generic interface to intersectionv(), intersectionf(), intersections()

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

  • f2 (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