func (this *Geos) Buffer(geom *Geom, size float64) *Geom { buffered := C.GEOSBuffer_r(this.v, geom.v, C.double(size), 50) if buffered == nil { return nil } return &Geom{buffered} }
func cGEOSBuffer(g1 *C.GEOSGeometry, width C.double, quadsegs C.int) *C.GEOSGeometry { handlemu.Lock() defer handlemu.Unlock() return C.GEOSBuffer_r(handle, g1, width, quadsegs) }