Class: GDAL::GridAlgorithms::NearestNeighbor

Inherits:
Object
  • Object
show all
Defined in:
lib/gdal/grid_algorithms/nearest_neighbor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNearestNeighbor

Returns a new instance of NearestNeighbor.



9
10
11
# File 'lib/gdal/grid_algorithms/nearest_neighbor.rb', line 9

def initialize
  @options = FFI::GDAL::GridNearestNeighborOptions.new
end

Instance Attribute Details

#optionsFFI::GDAL::GridNearestNeighborOptions (readonly)



7
8
9
# File 'lib/gdal/grid_algorithms/nearest_neighbor.rb', line 7

def options
  @options
end

Instance Method Details

#c_identifierSymbol

Returns:

  • (Symbol)


14
15
16
# File 'lib/gdal/grid_algorithms/nearest_neighbor.rb', line 14

def c_identifier
  :GGA_NearestNeighbor
end