()
| 54 | } |
| 55 | |
| 56 | func main() { |
| 57 | points := []point{{-5, 2}, {5, 7}, {-6, -12}, {-14, -14}, {9, 9}, |
| 58 | {-1, -1}, {-10, 11}, {-6, 15}, {-6, -8}, {15, -9}, |
| 59 | {7, -7}, {-2, -9}, {6, -5}, {0, 14}, {2, 8}, |
| 60 | } |
| 61 | |
| 62 | hullPoints := jarvisMarch(points) |
| 63 | fmt.Println("The hull points are:") |
| 64 | |
| 65 | for _, p := range hullPoints { |
| 66 | fmt.Printf("x=%f y=%f\n", p.x, p.y) |
| 67 | } |
| 68 | } |
nothing calls this directly
no test coverage detected