Class: FFI::GDAL::GridMovingAverageOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffi/gdal/grid_moving_average_options.rb

Overview

FFI structure for GDALGridMovingAverageOptions.

Constant Summary collapse

LAYOUT_VERSIONS =
[
  InternalHelpers::LayoutVersion.new(
    version: "0000000", # Any old GDAL
    layout: [
      :radius1, :double,
      :radius2, :double,
      :angle, :double,
      :min_points, CPL::Port.find_type(:GUInt32),
      :no_data_value, :double
    ]
  ),
  InternalHelpers::LayoutVersion.new(
    version: "3060000", # GDAL 3.6.0
    layout: [
      :n_size_of_structure, :size_t,
      :radius1, :double,
      :radius2, :double,
      :angle, :double,
      :max_points, CPL::Port.find_type(:GUInt32),
      :min_points, CPL::Port.find_type(:GUInt32),
      :no_data_value, :double,
      :max_points_per_quadrant, CPL::Port.find_type(:GUInt32),
      :min_points_per_quadrant, CPL::Port.find_type(:GUInt32)
    ]
  )
].freeze