Refacator LinePoint to Point