Exemple #1
0
func (this *Geos) IsSimple(geom *Geom) bool {
	if C.GEOSisSimple_r(this.v, geom.v) == 1 {
		return true
	}
	return false
}
Exemple #2
0
func cGEOSisSimple(g1 *C.GEOSGeometry) C.char {
	handlemu.Lock()
	defer handlemu.Unlock()
	return C.GEOSisSimple_r(handle, g1)
}