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)


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

def closed?
  @zgeometry.closed?
end

#coordinatesObject



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

def coordinates
  each.map(&:coordinates)
end

#lengthObject



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

def length
  @zgeometry.length
end