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


86
87
88
# File 'lib/rgeo/cartesian/feature_methods.rb', line 86

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