Improved hasPoint-Method