mymesh.implicit.offset#

mymesh.implicit.offset(fval, value)[source]#

Offset function values by a prescribed amount. For a signed distance function, this offsets the isosurface by a specified distance.

Parameters:
  • fval (scalar or np.ndarray) – Function value(s) to be offset

  • value (scalar) – Offset value

Returns:

offset_val – Offset value(s)

Return type:

scalar or np.ndarray