Sha256: d4a7b09433e27bfef9d182f725e2940bbe7dfa65fe280255758b9da09eca7528

Contents?: true

Size: 309 Bytes

Versions: 4

Compression:

Stored size: 309 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta7 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta6 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta5 lib/ogr/geometries/none_geometry.rb
ffi-gdal-1.0.0.beta4 lib/ogr/geometries/none_geometry.rb