Class: GeoRuby::SimpleFeatures::LineString

Inherits:
Object
  • Object
show all
Defined in:
lib/geomagic/extensions/geo_ruby_ext/utility.rb

Instance Method Summary collapse

Instance Method Details

#to_coordinatesObject



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