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
200 201 202 203 204 205 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 200 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
196 197 198 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 196 def m @mgeometry.m end |
#x ⇒ Object
184 185 186 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 184 def x @zgeometry.x end |
#y ⇒ Object
188 189 190 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 188 def y @zgeometry.y end |
#z ⇒ Object
192 193 194 |
# File 'lib/rgeo/geos/zm_feature_methods.rb', line 192 def z @zgeometry.z end |