Module: RGeo::Geographic::ProjectedNSurfaceMethods
- Included in:
- ProjectedMultiPolygonImpl, ProjectedPolygonImpl
- Defined in:
- lib/rgeo/geographic/projected_feature_methods.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#area ⇒ Object
181 182 183 |
# File 'lib/rgeo/geographic/projected_feature_methods.rb', line 181 def area projection.area end |
#centroid ⇒ Object
185 186 187 |
# File 'lib/rgeo/geographic/projected_feature_methods.rb', line 185 def centroid factory.unproject(projection.centroid) end |
#point_on_surface ⇒ Object
189 190 191 |
# File 'lib/rgeo/geographic/projected_feature_methods.rb', line 189 def point_on_surface factory.unproject(projection.point_on_surface) end |