Module: RGeo::Geos::FFIMultiLineStringMethods

Included in:
FFIMultiLineStringImpl
Defined in:
lib/rgeo/geos/ffi_feature_methods.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#geometry_typeObject


670
671
672
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 670

def geometry_type
  Feature::MultiLineString
end

#is_closed?Boolean


680
681
682
683
684
685
686
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 680

def is_closed?
  size_ = num_geometries
  size_.times do |n_|
    return false unless @fg_geom.get_geometry_n(n_).closed?
  end
  true
end

#lengthObject


675
676
677
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 675

def length
  @fg_geom.length
end