line extraction, point extraction, nearest line extraction