Classes | Typedefs | Enumerations | Functions
f2c::types Namespace Reference

Types used by fields2cover library. More...

Classes

struct  Cell
 
struct  Cells
 
class  DecimalSeparator
 
class  EmptyDestructor
 
struct  Field
 
struct  Geometries
 
struct  Geometry
 
class  Graph
 
class  Graph2D
 
struct  LinearRing
 
struct  LineString
 
struct  MultiLineString
 
struct  MultiPoint
 
struct  Path
 
struct  PathState
 
struct  Point
 
struct  Robot
 
struct  Route
 
struct  Strip
 
struct  Swath
 
struct  Swaths
 
struct  SwathsByCells
 

Typedefs

typedef std::unordered_map< size_t, std::unordered_map< size_t, int64_t > > map_to_map_to_int
 
typedef std::pair< std::vector< size_t >, int64_t > pair_vec_size__int
 

Enumerations

enum  PathDirection { PathDirection::FORWARD = 1, PathDirection::BACKWARD = -1 }
 
enum  PathSectionType { PathSectionType::SWATH = 1, PathSectionType::TURN = 2, PathSectionType::HL_SWATH = 3 }
 
enum  SwathType { SwathType::MAINLAND = 0, SwathType::HEADLAND = 1 }
 

Functions

OGRPoint operator+ (const OGRPoint &a, const f2c::types::Point &b)
 
template<class T >
std::vector< T > operator+ (const std::vector< T > &t, const f2c::types::Point &dir)
 
template<class T >
operator+ (const T &t, const f2c::types::Point &dir)
 
template<class T >
std::vector< T > operator- (const f2c::types::Point &dir, const std::vector< T > &t)
 
template<class T >
operator- (const f2c::types::Point &dir, const T &t)
 
OGRPoint operator- (const OGRPoint &a, const f2c::types::Point &b)
 
template<class T >
std::vector< T > operator- (const std::vector< T > &t, const f2c::types::Point &dir)
 
template<class T >
operator- (const T &t, const f2c::types::Point &dir)
 
std::ostream & operator<< (std::ostream &os, const Point &p)
 
template<typename... Args>
std::string sstr (Args &&... args)
 
std::string to_string (double d, const int precision=6)
 

Detailed Description

Types used by fields2cover library.

Typedef Documentation

◆ map_to_map_to_int

typedef std::unordered_map<size_t, std::unordered_map<size_t, int64_t> > f2c::types::map_to_map_to_int

Definition at line 20 of file Graph.h.

◆ pair_vec_size__int

typedef std::pair<std::vector<size_t>, int64_t> f2c::types::pair_vec_size__int

Definition at line 21 of file Graph.h.

Enumeration Type Documentation

◆ PathDirection

Enumerator
FORWARD 
BACKWARD 

Definition at line 21 of file PathState.h.

◆ PathSectionType

Enumerator
SWATH 
TURN 
HL_SWATH 

Definition at line 15 of file PathState.h.

◆ SwathType

enum f2c::types::SwathType
strong
Enumerator
MAINLAND 
HEADLAND 

Definition at line 21 of file Swath.h.

Function Documentation

◆ operator+() [1/3]

OGRPoint f2c::types::operator+ ( const OGRPoint &  a,
const f2c::types::Point b 
)
inline

Definition at line 115 of file Point.h.

◆ operator+() [2/3]

template<class T >
std::vector<T> f2c::types::operator+ ( const std::vector< T > &  t,
const f2c::types::Point dir 
)
inline

Definition at line 124 of file Point.h.

◆ operator+() [3/3]

template<class T >
T f2c::types::operator+ ( const T &  t,
const f2c::types::Point dir 
)
inline

Definition at line 154 of file Point.h.

◆ operator-() [1/5]

template<class T >
std::vector<T> f2c::types::operator- ( const f2c::types::Point dir,
const std::vector< T > &  t 
)
inline

Definition at line 134 of file Point.h.

◆ operator-() [2/5]

template<class T >
T f2c::types::operator- ( const f2c::types::Point dir,
const T &  t 
)
inline

Definition at line 163 of file Point.h.

◆ operator-() [3/5]

OGRPoint f2c::types::operator- ( const OGRPoint &  a,
const f2c::types::Point b 
)
inline

Definition at line 119 of file Point.h.

◆ operator-() [4/5]

template<class T >
std::vector<T> f2c::types::operator- ( const std::vector< T > &  t,
const f2c::types::Point dir 
)
inline

Definition at line 144 of file Point.h.

◆ operator-() [5/5]

template<class T >
T f2c::types::operator- ( const T &  t,
const f2c::types::Point dir 
)
inline

Definition at line 172 of file Point.h.

◆ operator<<()

std::ostream & f2c::types::operator<< ( std::ostream &  os,
const Point p 
)

Definition at line 37 of file Point.cpp.

◆ sstr()

template<typename... Args>
std::string f2c::types::sstr ( Args &&...  args)
inline

Definition at line 24 of file Cell.h.

◆ to_string()

std::string f2c::types::to_string ( double  d,
const int  precision = 6 
)

Definition at line 274 of file Path.cpp.



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