Sha256: 389867e86971ee8df0ec4e09c1732a827c36f35a41cb0a1e40bd01aac2a66839
Contents?: true
Size: 524 Bytes
Versions: 3
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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffi-gdal-1.1.0 | lib/ogr/geometries/geometry_collection.rb |
ffi-gdal-1.0.4 | lib/ogr/geometries/geometry_collection.rb |
ffi-gdal-1.0.3 | lib/ogr/geometries/geometry_collection.rb |