Module: RGeo::Geos::FFIPolygonMethods

Defined in:
lib/georuby-ext/rgeo/geos/ffi_feature_methods.rb

Instance Method Summary collapse

Instance Method Details

#linear_ringsObject



262
263
264
# File 'lib/georuby-ext/rgeo/geos/ffi_feature_methods.rb', line 262

def linear_rings
  rings.collect(&:to_linear_ring)
end

#ringsObject



258
259
260
# File 'lib/georuby-ext/rgeo/geos/ffi_feature_methods.rb', line 258

def rings
  [exterior_ring] + interior_rings
end