Class: RGeo::Geos::ZMMultiPolygonImpl
- Inherits:
-
ZMGeometryCollectionImpl
- Object
- ZMGeometryImpl
- ZMGeometryCollectionImpl
- RGeo::Geos::ZMMultiPolygonImpl
- Defined in:
- lib/rgeo/geos/zm_impl.rb
Overview
:nodoc:
Constant Summary
Constants inherited from ZMGeometryImpl
RGeo::Geos::ZMGeometryImpl::TYPE_KLASSES
Instance Method Summary collapse
Methods inherited from ZMGeometryCollectionImpl
#each, #geometry_n, #num_geometries
Methods inherited from ZMGeometryImpl
#as_binary, #as_text, #boundary, #buffer, #contains?, #convex_hull, create, #crosses?, #difference, #dimension, #disjoint?, #distance, #envelope, #eql?, #equals?, #factory, #geometry_type, #initialize, #inspect, #intersection, #intersects?, #is_empty?, #is_simple?, #m_geometry, #overlaps?, #relate, #srid, #sym_difference, #to_s, #touches?, #union, #within?, #z_geometry
Constructor Details
This class inherits a constructor from RGeo::Geos::ZMGeometryImpl
Instance Method Details
#area ⇒ Object
388 389 390 |
# File 'lib/rgeo/geos/zm_impl.rb', line 388 def area @zgeometry.area end |
#centroid ⇒ Object
393 394 395 |
# File 'lib/rgeo/geos/zm_impl.rb', line 393 def centroid ZMPointImpl.create(@factory, @zgeometry.centroid, @mgeometry.centroid) end |
#point_on_surface ⇒ Object
398 399 400 |
# File 'lib/rgeo/geos/zm_impl.rb', line 398 def point_on_surface ZMPointImpl.create(@factory, @zgeometry.centroid, @mgeometry.centroid) end |