Module: RGeo::Geos::ZMMultiPolygonMethods

Included in:
ZMMultiPolygonImpl
Defined in:
lib/rgeo/geos/zm_feature_methods.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#areaObject


427
428
429
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 427

def area
  @zgeometry.area
end

#centroidObject


432
433
434
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 432

def centroid
  @factory._create_feature(ZMPointImpl, @zgeometry.centroid, @mgeometry.centroid)
end

#point_on_surfaceObject


437
438
439
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 437

def point_on_surface
  @factory._create_feature(ZMPointImpl, @zgeometry.centroid, @mgeometry.centroid)
end