lib/geos/polygon.rb
def dump_points(cur_path = [])
      points = [ self.exterior_ring.dump_points ]

      self.interior_rings.each do |ring|
        points.push(ring.dump_points)
      end

      cur_path.concat(points)
    end
def dump_points(cur_path = [])
      points = [ self.exterior_ring.dump_points ]

      self.interior_rings.each do |ring|
        points.push(ring.dump_points)
      end

      cur_path.concat(points)
    end
def dump_points ( cur_path = [ ] ) points = [ self . exterior_ring . dump_points ] self . interior_rings . each do | ring | points . push ( ring . dump_points ) end cur_path . concat ( points ) end
Dumps points similarly to the PostGIS `ST_DumpPoints` function.
Dumps points similarly to the PostGIS ST_DumpPoints function .