meos::TBox class

Temporal box - bounding box with value and/or time dimensions.

Constructors, destructors, conversion operators

TBox()
TBox(double const xmin, time_point const tmin, double const xmax, time_point const tmax)
TBox(double const xmin, double const xmax)
TBox(time_point const tmin, time_point const tmax)
TBox(double const xmin, std::string const& tmin, double const xmax, std::string const& tmax)
TBox(std::string const& xmin, std::string const& tmin, std::string const& xmax, std::string const& tmax)
TBox(std::string const& serialized)

Public functions

auto xmin() const -> double
auto tmin() const -> time_point
auto xmax() const -> double
auto tmax() const -> time_point

Friends

auto operator==(TBox const& lhs, TBox const& rhs) -> bool
auto operator!=(TBox const& lhs, TBox const& rhs) -> bool
auto operator<(TBox const& lhs, TBox const& rhs) -> bool
auto operator>(TBox const& lhs, TBox const& rhs) -> bool
auto operator>=(TBox const& lhs, TBox const& rhs) -> bool
auto operator<=(TBox const& lhs, TBox const& rhs) -> bool
auto operator>>(std::istream& in, TBox& period) -> std::istream&
auto operator<<(std::ostream& os, TBox const& period) -> std::ostream&