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
227 228 229 230 231 232 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 227 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
223 224 225 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 223 def m @mgeometry.m end |
#x ⇒ Object
211 212 213 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 211 def x @zgeometry.x end |
#y ⇒ Object
215 216 217 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 215 def y @zgeometry.y end |
#z ⇒ Object
219 220 221 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 219 def z @zgeometry.z end |