Added getVisiblePoints back in