About mesh connectivity for nearest-projection

hi:
my question is :
for nearest-projection, mesh connectivity is a must or not?

Here is the documentation:

If you don’t specify mesh connectivity, then the nearest-projection method acts simply as the (more naive) nearest-neighbor method.