digeo.ops.uniform_sampling# digeo.ops.uniform_sampling(mesh, n_points)[source]# Sample points uniformly from the mesh. Parameters: mesh (Mesh | MeshBatch) – The mesh to sample from. n_points (int) – The number of points to sample. tensor (bool) – Whether to use torch tensors for barycentric coordinates. Returns: The sampled points. Return type: MeshPointBatch