DUNE: Uniform Navigational Environment  2019.02.0
Simulators::Environment::Point Struct Reference

Detailed Description

Point structure.

Public Member Functions

 Point (double x_, double y_)
 
double distance (const Point &other) const
 
template<typename T >
int direction (const T &other) const
 

Public Attributes

double x
 
double y
 

Constructor & Destructor Documentation

Simulators::Environment::Point::Point ( double  x_,
double  y_ 
)
inline

Member Function Documentation

template<typename T >
int Simulators::Environment::Point::direction ( const T &  other) const
inline
double Simulators::Environment::Point::distance ( const Point other) const
inline

References x, and y.

Referenced by Simulators::Environment::Task::depthAt().

Member Data Documentation

double Simulators::Environment::Point::x
double Simulators::Environment::Point::y
Collaboration diagram for Simulators::Environment::Point:
Collaboration graph