edit area calculation in point class