Method: RGeo::ImplHelper::BasicMultiPolygonMethods#area
- Defined in:
- lib/rgeo/impl_helper/basic_geometry_collection_methods.rb
#area ⇒ Object
173 174 175 |
# File 'lib/rgeo/impl_helper/basic_geometry_collection_methods.rb', line 173 def area @elements.inject(0.0) { |sum, obj| sum + obj.area } end |