mymesh.implicit.mesh2udf#

mymesh.implicit.mesh2udf(M, points)[source]#

Generates an unsigned distance field for a mesh.

Parameters:
  • M (mesh.mesh) – Mesh object that will be used to define the distance field.

  • points (array_like) – Points at which the signed distance field will be evaluated.

Returns:

NodeVals – List of signed distance values evaluated at each node in the voxel grid.

Return type:

list