erase.point function

Erase points