Class: GeoRuby::SimpleFeatures::LineString
- Inherits:
-
Object
- Object
- GeoRuby::SimpleFeatures::LineString
- Defined in:
- lib/geomagic/extensions/geo_ruby_ext/utility.rb
Instance Method Summary collapse
Instance Method Details
#to_coordinates ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/geomagic/extensions/geo_ruby_ext/utility.rb', line 17 def to_coordinates _points = [] points.each do |point| _points << [point.lat, point.lng] end _points end |