Module: RGeo::Geos::ZMMultiLineStringMethods

Included in:
ZMMultiLineStringImpl
Defined in:
lib/rgeo/geos/zm_feature_methods.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#closed?Boolean

Returns:

  • (Boolean)


349
350
351
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 349

def closed?
  @zgeometry.closed?
end

#coordinatesObject



353
354
355
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 353

def coordinates
  each.map(&:coordinates)
end

#lengthObject



345
346
347
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 345

def length
  @zgeometry.length
end