warp.fem.partition_lookup#

warp.fem.partition_lookup = <warp._src.fem.operator.Operator object>#

Looks-up the sample point corresponding to a world position x, projecting to the closest point on the geometry partition.

Parameters:
  • x (vec3) – world position of the point to look-up in the geometry

  • max_dist (float) – maximum distance to look for a closest point