.. _program_listing_file_fields2cover_headland_generator_constant_headland.h: Program Listing for File constant_headland.h ============================================ |exhale_lsh| :ref:`Return to documentation for file ` (``fields2cover/headland_generator/constant_headland.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp //============================================================================= // Copyright (C) 2021-2024 Wageningen University - All Rights Reserved // Author: Gonzalo Mier // BSD-3 License //============================================================================= #pragma once #ifndef FIELDS2COVER_HEADLAND_GENERATOR_CONSTANT_HEADLAND_H_ #define FIELDS2COVER_HEADLAND_GENERATOR_CONSTANT_HEADLAND_H_ #include #include "fields2cover/types.h" #include "fields2cover/headland_generator/headland_generator_base.h" namespace f2c::hg { class ConstHL : public HeadlandGeneratorBase { public: F2CCells generateHeadlands( const F2CCells& field, double dist_headland) override; F2CCells generateHeadlandArea( const F2CCells& field, double swath_width, int n_swaths) override; std::vector generateHeadlandSwaths( const F2CCells& field, double swath_width, int n_swaths, bool dir_out2in = true) override; }; } // namespace f2c::hg #endif // FIELDS2COVER_HEADLAND_GENERATOR_CONSTANT_HEADLAND_H_