Class: Shapelib::Shape
- Inherits:
-
Object
- Object
- Shapelib::Shape
- Defined in:
- lib/shapelib/shape.rb,
ext/shapelib_ext/main.c
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.new ⇒ Object
Instance Method Details
#each ⇒ Object
3 4 5 6 7 |
# File 'lib/shapelib/shape.rb', line 3 def each latlngs.each do |l| yield l end end |
#latlngs ⇒ Object
9 10 11 |
# File 'lib/shapelib/shape.rb', line 9 def latlngs @latlngs ||= yvals.zip(xvals) end |