Sha256: d5b210ff85b665d46a9eeb38bd2f8474b603738b282360b29d1b8a1fc396c54e

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

require_relative 'multi_polygon'

module OGR
  # NOTE: {{#type}} will return :wkbMultiPolygon (read: 2D instead of 2.5D)
  # until a Z value is set.
  class MultiPolygon25D < MultiPolygon
    # @param [FFI::Pointer] geometry_ptr
    def initialize(geometry_ptr = nil, spatial_reference: nil)
      geometry_ptr ||= OGR::Geometry.create(:wkbMultiPolygon25D)
      super(geometry_ptr, spatial_reference: 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/multi_polygon_25d.rb
ffi-gdal-1.0.0.beta6 lib/ogr/geometries/multi_polygon_25d.rb