geoos
geoos copied to clipboard
108 convex hull
Add ConvexHull() method to clusters.PointList and clusters.Cluster types.
Add unit test for PointList.ConvexHull(). Implementation of Andrew's Monotone Chain algorithm (O(n log n) complexity with n = number of points).
closes #108
An error occurred during the compilation stage.
Oh my bad - I misread since when the builtin slices
package was available. This is apparently a v1.21 feature and according to your go.mod, geoos is using go 1.19
I will refactor my code to use a version-appropriate sorting method.
Two things to consider though:
- Upgrade go to a more recent version to stay up-to-date with new features and improvements
- In the image you posted, the error says it could not find the package in ../go/1.18.10/... which is different from the go version specified in the go.mod - maybe you need to update your ci job?