meos::STBox class

Spatio-temporal box - bounding box with value and/or space/time dimensions.

Base classes

struct SRIDMembers

Constructors, destructors, conversion operators

STBox()
STBox(std::string const& serialized)
STBox(double const xmin, double const ymin, double const zmin, time_point const tmin, double const xmax, double const ymax, double const zmax, time_point const tmax, int const srid = 0, bool const geodetic = false)
STBox(double const xmin, double const ymin, double const zmin, std::string const& tmin, double const xmax, double const ymax, double const zmax, std::string const& tmax, int const srid = 0, bool const geodetic = false)
STBox(double const xmin, double const ymin, double const zmin, double const xmax, double const ymax, double const zmax, int const srid = 0, bool const geodetic = false)
STBox(double const xmin, double const ymin, time_point const tmin, double const xmax, double const ymax, time_point const tmax, int const srid = 0)
STBox(double const xmin, double const ymin, std::string const& tmin, double const xmax, double const ymax, std::string const& tmax, int const srid = 0)
STBox(double const xmin, double const ymin, double const xmax, double const ymax, int const srid = 0)
STBox(time_point const tmin, time_point const tmax, int const srid = 0, bool const geodetic = false)
STBox(std::string const& tmin, std::string const& tmax, int const srid = 0, bool const geodetic = false)

Public functions

auto xmin() const -> double
auto ymin() const -> double
auto zmin() const -> double
auto tmin() const -> time_point
auto xmax() const -> double
auto ymax() const -> double
auto zmax() const -> double
auto tmax() const -> time_point
auto geodetic() const -> bool

Friends

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