FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
Spatial::FMTcoordinate Class Reference

#include <FMTcoordinate.hpp>

Public Member Functions

 FMTcoordinate ()
 
 ~FMTcoordinate ()=default
 
 FMTcoordinate (unsigned int lx, unsigned int ly)
 
 FMTcoordinate (const FMTcoordinate &rhs)
 
FMTcoordinate at (unsigned int id) const
 
double distance (const FMTcoordinate &coord) const
 
template<typename T >
bool within (const T &ldistance, const FMTcoordinate &coord) const
 
void upenveloppe (std::vector< FMTcoordinate > &enveloppe) const
 
size_t hash () const
 
FMTcoordinateoperator= (const FMTcoordinate &rhs)
 
unsigned int getx () const
 
unsigned int gety () const
 
const std::vector< double > getSpatialCoordinate (std::vector< double > geoTransform) const
 
bool operator== (const FMTcoordinate &rhs) const
 
bool operator< (const FMTcoordinate &rhs) const
 
std::set< FMTcoordinate >::const_iterator closest (const std::vector< std::set< FMTcoordinate >::const_iterator > &coordinates, double &approximation) const
 
 operator std::string () const
 
std::set< FMTcoordinategetneighbors (const unsigned int &nsize, const bool &circle=false) const
 

Friends

class boost::serialization::access
 

Constructor & Destructor Documentation

◆ FMTcoordinate() [1/3]

Spatial::FMTcoordinate::FMTcoordinate ( )

◆ ~FMTcoordinate()

Spatial::FMTcoordinate::~FMTcoordinate ( )
default

◆ FMTcoordinate() [2/3]

Spatial::FMTcoordinate::FMTcoordinate ( unsigned int  lx,
unsigned int  ly 
)

◆ FMTcoordinate() [3/3]

Spatial::FMTcoordinate::FMTcoordinate ( const FMTcoordinate rhs)

Member Function Documentation

◆ at()

FMTcoordinate Spatial::FMTcoordinate::at ( unsigned int  id) const

◆ closest()

std::set< FMTcoordinate >::const_iterator Spatial::FMTcoordinate::closest ( const std::vector< std::set< FMTcoordinate >::const_iterator > &  coordinates,
double &  approximation 
) const

◆ distance()

double Spatial::FMTcoordinate::distance ( const FMTcoordinate coord) const

◆ getneighbors()

std::set< FMTcoordinate > Spatial::FMTcoordinate::getneighbors ( const unsigned int &  nsize,
const bool &  circle = false 
) const

◆ getSpatialCoordinate()

const std::vector< double > Spatial::FMTcoordinate::getSpatialCoordinate ( std::vector< double >  geoTransform) const

◆ getx()

unsigned int Spatial::FMTcoordinate::getx ( ) const

◆ gety()

unsigned int Spatial::FMTcoordinate::gety ( ) const

◆ hash()

size_t Spatial::FMTcoordinate::hash ( ) const

◆ operator std::string()

Spatial::FMTcoordinate::operator std::string ( ) const

◆ operator<()

bool Spatial::FMTcoordinate::operator< ( const FMTcoordinate rhs) const

◆ operator=()

FMTcoordinate & Spatial::FMTcoordinate::operator= ( const FMTcoordinate rhs)

◆ operator==()

bool Spatial::FMTcoordinate::operator== ( const FMTcoordinate rhs) const

◆ upenveloppe()

void Spatial::FMTcoordinate::upenveloppe ( std::vector< FMTcoordinate > &  enveloppe) const

◆ within()

template<typename T >
bool Spatial::FMTcoordinate::within ( const T &  ldistance,
const FMTcoordinate coord 
) const

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

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