Module: RGeo::Cartesian::PolygonMethods

Defined in:
lib/georuby-ext/rgeo/cartesian/feature_methods.rb

Instance Method Summary collapse

Instance Method Details

#linear_ringsObject



51
52
53
# File 'lib/georuby-ext/rgeo/cartesian/feature_methods.rb', line 51

def linear_rings
  rings.collect(&:to_linear_ring)
end

#ringsObject



47
48
49
# File 'lib/georuby-ext/rgeo/cartesian/feature_methods.rb', line 47

def rings
  [exterior_ring] + interior_rings
end