Class | GeoRuby::SimpleFeatures::Polygon |
In: |
lib/geo_ruby/simple_features/polygon.rb
|
Parent: | Geometry |
Represents a polygon as an array of linear rings (see LinearRing). No check is performed regarding the validity of the geometries forming the polygon.
rings | [R] | the list of rings forming the polygon |
creates a new polygon. Accepts a sequence of points as argument : ((x,y).…(x,y)),((x,y).….(x,y))
creates a new polygon. Accepts an array of linear strings as argument
creates a new polygon from a list of Points (pt1....ptn),(pti....ptj)