Class: GDAL::GridAlgorithms::AlgorithmBase
- Inherits:
-
Object
- Object
- GDAL::GridAlgorithms::AlgorithmBase
- Defined in:
- lib/gdal/grid_algorithms/algorithm_base.rb
Overview
Base abstract class for all grid algorithms.
Direct Known Subclasses
InverseDistanceToAPower, MetricAverageDistance, MetricAverageDistancePts, MetricCount, MetricMaximum, MetricMinimum, MetricRange, MovingAverage, NearestNeighbor
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Options object.
Instance Method Summary collapse
-
#c_identifier ⇒ Symbol
C identifier for the algorithm.
-
#initialize ⇒ AlgorithmBase
constructor
A new instance of AlgorithmBase.
-
#options_class ⇒ Class
Options class.
Constructor Details
#initialize ⇒ AlgorithmBase
Returns a new instance of AlgorithmBase.
10 11 12 13 |
# File 'lib/gdal/grid_algorithms/algorithm_base.rb', line 10 def initialize @options = .new assign_size_of_structure end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns Options object.
8 9 10 |
# File 'lib/gdal/grid_algorithms/algorithm_base.rb', line 8 def @options end |
Instance Method Details
#c_identifier ⇒ Symbol
Returns C identifier for the algorithm.
21 22 23 |
# File 'lib/gdal/grid_algorithms/algorithm_base.rb', line 21 def c_identifier # This method must be overridden in subclasses. end |
#options_class ⇒ Class
Returns Options class.
16 17 18 |
# File 'lib/gdal/grid_algorithms/algorithm_base.rb', line 16 def # This method must be overridden in subclasses. end |