code: def MeshPoints(*inputobj, **options):
      
      r = options.pop("r", 5)
      c = options.pop("c", "gray")
      alpha = options.pop("alpha", 1)
  
      mesh, u = _inputsort(inputobj)
      plist = mesh.coordinates()
      if u:
          u_values = np.array([u(p) for p in plist])
      if len(plist[0]) == 2:  # coords are 2d.. not good..
          plist = np.insert(plist, 2, 0, axis=1)  # make it 3d
      if len(plist[0]) == 1:  # coords are 1d.. not good..
          plist = np.insert(plist, 1, 0, axis=1)  # make it 3d
          plist = np.insert(plist, 2, 0, axis=1)
  
      actor = shapes.Points(plist, r=r, c=c, alpha=alpha)
  
      actor.mesh = mesh
      if u:
          actor.u = u
          if len(u_values.shape) == 2:
              if u_values.shape[1] in [2, 3]:  # u_values is 2D or 3D
                  actor.u_values = u_values
                  dispsizes = utils.mag(u_values)
          else:  # u_values is 1D
              dispsizes = u_values
          actor.addPointScalars(dispsizes, "u_values")
      return actor
docs: Build a point ``Actor`` for a list of points.
  
      :param float r: point radius.
      :param c: color name, number, or list of [R,G,B] colors of same length as plist.
      :type c: int, str, list
      :param float alpha: transparency in range [0,1].