func (this *Geos) PreparedContains(a *PreparedGeom, b *Geom) bool { result := C.GEOSPreparedContains_r(this.v, a.v, b.v) if result == 1 { return true } // result == 2 -> exception (already logged to console) return false }
func cGEOSPreparedContains(pg1 *C.GEOSPreparedGeometry, g2 *C.GEOSGeometry) C.char { handlemu.Lock() defer handlemu.Unlock() return C.GEOSPreparedContains_r(handle, pg1, g2) }