mymesh.implicit.thickenf#

mymesh.implicit.thickenf(f, t)[source]#

Thicken an implicit function by offsetting in both directions. The surface is offset in both directions by t/2.

Parameters:
  • f (callable) – Callable function of three variables (x, y, z). Function should be able to handle either scalar or vector inputs.

  • t (scalar) – Thickness value. For a signed distance function, this will correspond to an actual thickness, for other implicit functions, the offset distance depends on the function.

Returns:

thick_fun – Thickened function

Return type:

callable