import geometry func main() { var p = geometry.Point{3.0, 4.0} print(p.dist(geometry.origin()), geometry.UNIT) }