Public Member Functions | Protected Attributes | List of all members
f2c::sg::SwathGeneratorBase Class Referenceabstract

#include <swath_generator_base.h>

Inheritance diagram for f2c::sg::SwathGeneratorBase:
Inheritance graph
[legend]

Public Member Functions

virtual double computeBestAngle (f2c::obj::SGObjective &obj, double op_width, const F2CCell &poly)=0
 
virtual double computeCostOfAngle (f2c::obj::SGObjective &obj, double ang, double op_width, const F2CCell &poly)
 
virtual F2CSwaths generateBestSwaths (f2c::obj::SGObjective &obj, double op_width, const F2CCell &poly)
 
virtual F2CSwathsByCells generateBestSwaths (f2c::obj::SGObjective &obj, double op_width, const F2CCells &polys)
 
virtual F2CSwaths generateSwaths (double angle, double op_width, const F2CCell &poly)
 
virtual F2CSwathsByCells generateSwaths (double angle, double op_width, const F2CCells &polys)
 
bool getAllowOverlap () const
 
void setAllowOverlap (bool)
 
virtual ~SwathGeneratorBase ()=default
 

Protected Attributes

bool allow_overlap {false}
 

Detailed Description

Definition at line 17 of file swath_generator_base.h.

Constructor & Destructor Documentation

◆ ~SwathGeneratorBase()

virtual f2c::sg::SwathGeneratorBase::~SwathGeneratorBase ( )
virtualdefault

Member Function Documentation

◆ computeBestAngle()

double f2c::sg::SwathGeneratorBase::computeBestAngle ( f2c::obj::SGObjective obj,
double  op_width,
const F2CCell poly 
)
pure virtual

Implemented in f2c::sg::BruteForce.

Definition at line 74 of file swath_generator_base.cpp.

◆ computeCostOfAngle()

double f2c::sg::SwathGeneratorBase::computeCostOfAngle ( f2c::obj::SGObjective obj,
double  ang,
double  op_width,
const F2CCell poly 
)
virtual

Definition at line 65 of file swath_generator_base.cpp.

◆ generateBestSwaths() [1/2]

F2CSwaths f2c::sg::SwathGeneratorBase::generateBestSwaths ( f2c::obj::SGObjective obj,
double  op_width,
const F2CCell poly 
)
virtual

Definition at line 19 of file swath_generator_base.cpp.

◆ generateBestSwaths() [2/2]

F2CSwathsByCells f2c::sg::SwathGeneratorBase::generateBestSwaths ( f2c::obj::SGObjective obj,
double  op_width,
const F2CCells polys 
)
virtual

Definition at line 24 of file swath_generator_base.cpp.

◆ generateSwaths() [1/2]

F2CSwaths f2c::sg::SwathGeneratorBase::generateSwaths ( double  angle,
double  op_width,
const F2CCell poly 
)
virtual

Definition at line 43 of file swath_generator_base.cpp.

◆ generateSwaths() [2/2]

F2CSwathsByCells f2c::sg::SwathGeneratorBase::generateSwaths ( double  angle,
double  op_width,
const F2CCells polys 
)
virtual

Definition at line 33 of file swath_generator_base.cpp.

◆ getAllowOverlap()

bool f2c::sg::SwathGeneratorBase::getAllowOverlap ( ) const

Definition at line 11 of file swath_generator_base.cpp.

◆ setAllowOverlap()

void f2c::sg::SwathGeneratorBase::setAllowOverlap ( bool  value)

Definition at line 15 of file swath_generator_base.cpp.

Member Data Documentation

◆ allow_overlap

bool f2c::sg::SwathGeneratorBase::allow_overlap {false}
protected

Definition at line 43 of file swath_generator_base.h.


The documentation for this class was generated from the following files:


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31