Sha256: e8765cefcf9211be204d15f33be166a4066bab0cc3e64e74994745c55be11101

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

require_relative '../geometry_types/container'
require_relative '../geometry_types/surface'

module OGR
  class GeometryCollection
    include OGR::Geometry
    include GeometryTypes::Container
    include GeometryTypes::Surface

    def initialize(geometry_ptr = nil, spatial_reference: nil)
      geometry_ptr ||= OGR::Geometry.create(:wkbGeometryCollection)
      initialize_from_pointer(geometry_ptr)
      self.spatial_reference = spatial_reference if spatial_reference
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta7 lib/ogr/geometries/geometry_collection.rb
ffi-gdal-1.0.0.beta6 lib/ogr/geometries/geometry_collection.rb