Geometry functions for Go