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
346 347 348 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 346 def closed? @zgeometry.closed? end |
#coordinates ⇒ Object
355 356 357 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 355 def coordinates each.map(&:coordinates) end |
#is_closed? ⇒ Boolean
350 351 352 353 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 350 def is_closed? warn "The is_closed? method is deprecated, please use the closed? counterpart, will be removed in v3" unless ENV["RGEO_SILENCE_DEPRECATION"] closed? end |
#length ⇒ Object
342 343 344 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 342 def length @zgeometry.length end |