Method: RGeo::Feature::MultiSurface#centroid

Defined in:
lib/rgeo/feature/multi_surface.rb

#centroidObject

SFS 1.1 Description

The mathematical centroid for this MultiSurface as a Point. The result is not guaranteed to be on this MultiSurface.

Notes

Returns an object that supports the Point interface.



57
58
59
# File 'lib/rgeo/feature/multi_surface.rb', line 57

def centroid
  raise Error::UnsupportedOperation, "Method #{self.class}#centroid not defined."
end