type Polygon struct { ring.Ring vertex *Point } type Point struct { x,y IntRoot2 } type IntRoot2 { a,b int64 }