Sha256: faf70eb74fd1d07896b419bec1355b9060698416e8b33c6fe4e0e579d93ecb67

Contents?: true

Size: 340 Bytes

Versions: 15

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module OGR
  class NoneGeometry
    include OGR::Geometry

    # OGR doesn't seem to let you create NoneGeometries, so let's only allow
    # creation from a pointer.
    #
    # @param geometry_ptr [FFI::Pointer]
    def initialize(geometry_ptr)
      initialize_from_pointer(geometry_ptr)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ffi-gdal-1.1.0 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.4 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.3 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.2 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.1 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta16 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta15 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta14 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta13 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta12 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta11 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta10 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta9 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta8 lib/ogr/geometries/none_geometry.rb