2#ifndef FS_SPREADALGORITHM_H
3#define FS_SPREADALGORITHM_H
8using HorizontalAdjustment = std::function<MathSize(
const Radians&)>;
9HorizontalAdjustment horizontal_adjustment(
const AspectSize slope_azimuth,
const SlopeSize slope);
14 [[nodiscard]]
virtual OffsetSet calculate_offsets(
15 HorizontalAdjustment correction_factor,
20 MathSize length_to_breadth
26 BaseSpreadAlgorithm(
const MathSize max_angle,
const MathSize cell_size,
const MathSize min_ros)
27 : max_angle_(max_angle), cell_size_(cell_size), min_ros_(min_ros)
38 using BaseSpreadAlgorithm::BaseSpreadAlgorithm;
39 [[nodiscard]] OffsetSet calculate_offsets(
40 HorizontalAdjustment correction_factor,
45 MathSize length_to_breadth
46 )
const noexcept override;
51 using BaseSpreadAlgorithm::BaseSpreadAlgorithm;
52 [[nodiscard]] OffsetSet calculate_offsets(
53 HorizontalAdjustment correction_factor,
58 MathSize length_to_breadth
59 )
const noexcept override;
Definition SpreadAlgorithm.h:24
Definition SpreadAlgorithm.h:36
Definition SpreadAlgorithm.h:11
Definition SpreadAlgorithm.h:49