Sha256: b37882980bf0fa674bcaa6e94be72e2f8c70529c583ae48c76a8992c521d9d6d
Contents?: true
Size: 499 Bytes
Versions: 12
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true require_relative 'polygon' module OGR # NOTE: {{#type}} will return :wkbPolygon (read: 2D instead of 2.5D) until a Z # value is set. class Polygon25D < Polygon # @param geometry_ptr [FFI::Pointer] # @param spatial_reference [OGR::SpatialReference] def initialize(geometry_ptr = nil, spatial_reference: nil) geometry_ptr ||= OGR::Geometry.create(:wkbPolygon25D) super(geometry_ptr, spatial_reference: spatial_reference) end end end
Version data entries
12 entries across 12 versions & 1 rubygems