Module: RGeo::Geos::ZMPointMethods
- Included in:
- ZMPointImpl
- Defined in:
- lib/rgeo/geos/zm_feature_methods.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#coordinates ⇒ Object
226 227 228 229 230 231 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 226 def coordinates [x, y].tap do |coords| coords << z if @factory.property(:has_z_coordinate) coords << m if @factory.property(:has_m_coordinate) end end |
#m ⇒ Object
222 223 224 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 222 def m @mgeometry.m end |
#x ⇒ Object
210 211 212 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 210 def x @zgeometry.x end |
#y ⇒ Object
214 215 216 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 214 def y @zgeometry.y end |
#z ⇒ Object
218 219 220 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 218 def z @zgeometry.z end |