Sha256: 3e7a71ec3a7fabbc8f367eb93bbbd171d1f52fb9514590929cae9ecc5ed4ef3d
Contents?: true
Size: 468 Bytes
Versions: 2
Compression:
Stored size: 468 Bytes
Contents
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffi-gdal-1.0.0.beta7 | lib/ogr/geometries/polygon_25d.rb |
ffi-gdal-1.0.0.beta6 | lib/ogr/geometries/polygon_25d.rb |