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

#areaObject


700
701
702
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 700

def area
  @fg_geom.area
end

#centroidObject


705
706
707
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 705

def centroid
  @factory._wrap_fg_geom(@fg_geom.centroid, FFIPointImpl)
end

#geometry_typeObject


695
696
697
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 695

def geometry_type
  Feature::MultiPolygon
end

#point_on_surfaceObject


710
711
712
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 710

def point_on_surface
  @factory._wrap_fg_geom(@fg_geom.point_on_surface, FFIPointImpl)
end