func (this *Geos) AsWkt(geom *Geom) string { str := C.GEOSGeomToWKT_r(this.v, geom.v) if str == nil { return "" } result := C.GoString(str) C.free(unsafe.Pointer(str)) return result }
func cGEOSGeomToWKT(g *C.GEOSGeometry) *C.char { handlemu.Lock() defer handlemu.Unlock() return C.GEOSGeomToWKT_r(handle, g) }