Module: RGeo::Cartesian::MultiLineStringMethods

Included in:
MultiLineStringImpl
Defined in:
lib/rgeo/cartesian/feature_methods.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#lengthObject


81
82
83
# File 'lib/rgeo/cartesian/feature_methods.rb', line 81

def length
  inject(0.0) { |sum, geom| sum + geom.length }
end