Module: RGeo::Geos::FFIMultiPolygonMethods
- Included in:
- FFIMultiPolygonImpl
- Defined in:
- lib/rgeo/geos/ffi_feature_methods.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#area ⇒ Object
577 578 579 |
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 577 def area @fg_geom.area end |
#centroid ⇒ Object
581 582 583 |
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 581 def centroid @factory.wrap_fg_geom(@fg_geom.centroid, FFIPointImpl) end |
#coordinates ⇒ Object
585 586 587 |
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 585 def coordinates each.map(&:coordinates) end |
#geometry_type ⇒ Object
573 574 575 |
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 573 def geometry_type Feature::MultiPolygon end |