Esempio n. 1
0
func (this *Geos) NumGeoms(geom *Geom) int32 {
	count := int32(C.GEOSGetNumGeometries_r(this.v, geom.v))
	return count
}
Esempio n. 2
0
func cGEOSGetNumGeometries(g *C.GEOSGeometry) C.int {
	handlemu.Lock()
	defer handlemu.Unlock()
	return C.GEOSGetNumGeometries_r(handle, g)
}