pointDistance returns int