Sha256: 3b9f20442d6eb50ec6243dc058f31158bf93f17d9a25d3fecf89ba22cc467a89
Contents?: true
Size: 524 Bytes
Versions: 12
Compression:
Stored size: 524 Bytes
Contents
# frozen_string_literal: true 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
12 entries across 12 versions & 1 rubygems