Stg::point_t Class Reference

#include <stage.hh>

Public Member Functions

bool operator+= (const point_t &other)
 
bool operator< (const point_t &other) const
 
bool operator== (const point_t &other) const
 
 point_t ()
 
 point_t (meters_t x, meters_t y)
 

Public Attributes

meters_t x
 
meters_t y
 

Detailed Description

Define a point on a 2d plane

Constructor & Destructor Documentation

◆ point_t() [1/2]

Stg::point_t::point_t ( meters_t x,
meters_t y )
inline

◆ point_t() [2/2]

Stg::point_t::point_t ( )
inline

Member Function Documentation

◆ operator+=()

bool Stg::point_t::operator+= ( const point_t & other)
inline

◆ operator<()

bool Stg::point_t::operator< ( const point_t & other) const
inline

required to put these in sorted containers like std::map

◆ operator==()

bool Stg::point_t::operator== ( const point_t & other) const
inline

Member Data Documentation

◆ x

meters_t Stg::point_t::x

◆ y

meters_t Stg::point_t::y

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