Go to the documentation of this file.
8 #ifndef FIELDS2COVER_SWATH_GENERATOR_SWATH_GENERATOR_BASE_H_
9 #define FIELDS2COVER_SWATH_GENERATOR_SWATH_GENERATOR_BASE_H_
23 double op_width,
const F2CCell& poly);
26 double op_width,
const F2CCells& polys);
29 double op_width,
const F2CCell& poly);
32 double op_width,
const F2CCells& polys);
35 double ang,
double op_width,
const F2CCell& poly);
38 double op_width,
const F2CCell& poly) = 0;
49 #endif // FIELDS2COVER_SWATH_GENERATOR_SWATH_GENERATOR_BASE_H_
virtual F2CSwaths generateBestSwaths(f2c::obj::SGObjective &obj, double op_width, const F2CCell &poly)
Base class for objective functions of swath generators.
virtual double computeBestAngle(f2c::obj::SGObjective &obj, double op_width, const F2CCell &poly)=0
bool getAllowOverlap() const
Swath generator algorithms' namespace.
void setAllowOverlap(bool)
virtual F2CSwaths generateSwaths(double angle, double op_width, const F2CCell &poly)
virtual double computeCostOfAngle(f2c::obj::SGObjective &obj, double ang, double op_width, const F2CCell &poly)
virtual ~SwathGeneratorBase()=default
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31