code: def get_surface_dist(self, num_samples=10000):
      # P2S
      src_surf_pts, _ = trimesh.sample.sample_surface(
          self.src_mesh, num_samples
      )
  
      _, src_tgt_dist, _ = trimesh.proximity.closest_point(
          self.tgt_mesh, src_surf_pts
      )
  
      src_tgt_dist[np.isnan(src_tgt_dist)] = 0
  
      src_tgt_dist = src_tgt_dist.mean()
  
      return src_tgt_dist
  
file_path: pifuhd/lib/evaluator.py
imports: import trimesh
  import trimesh.proximity
  import trimesh.sample
  import numpy
  import math
  import os
  from PIL import Image
  import argparse
label_desc: Use image node_id 5 for calling the MeshEvaluator obj's underlying member method code with example usage: obj.get_surface_dist(num_samples) and returns: src_tgt_dist