mymesh.implicit.offset#

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

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

This is the generic interface to offsetv(), offsetf()

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

  • value (scalar) – Offset value

Returns:

offset_val – Offset value(s)

Return type:

scalar, np.ndarray, or callable