Sha256: f3673810647d531ccc4c9b7664b602616aad7bcde68a320f15571b471f1f24e5
Contents?: true
Size: 543 Bytes
Versions: 12
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true require_relative '../geometry_types/container' require_relative '../geometry_types/surface' module OGR class Polygon include OGR::Geometry include GeometryTypes::Surface include GeometryTypes::Container # @param [FFI::Pointer] geometry_ptr def initialize(geometry_ptr = nil, spatial_reference: nil) geometry_ptr ||= OGR::Geometry.create(:wkbPolygon) 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