Method: GeoRuby::SimpleFeatures::Polygon#initialize
- Defined in:
- lib/geo_ruby/simple_features/polygon.rb
#initialize(srid = DEFAULT_SRID, with_z = false, with_m = false) ⇒ Polygon
Returns a new instance of Polygon.
12 13 14 15 |
# File 'lib/geo_ruby/simple_features/polygon.rb', line 12 def initialize(srid = DEFAULT_SRID, with_z = false, with_m = false) super(srid, with_z, with_m) @rings = [] end |