1#ifndef CYCLUS_SRC_TOOLKIT_POSITION_H_
2#define CYCLUS_SRC_TOOLKIT_POSITION_H_
3#define CYCLUS_DECIMAL_SECOND_MULTIPLIER 3600
76 Position(
double decimal_lat,
double decimal_lon);
143 static constexpr double kInvalidLatitude =
144 std::numeric_limits<double>::quiet_NaN();
147 static constexpr double kInvalidLongitude =
148 std::numeric_limits<double>::quiet_NaN();
154 bool ValidLongitude(
double lon);
160 bool ValidLatitude(
double lat);
166 double SetPrecision(
double value,
double precision)
const;
179 std::string ToStringHelperLon(
int mode,
double lon)
const;
192 std::string ToStringHelperLat(
int mode,
double lat)
const;
197 std::string ToStringHelper(
double value)
const;
203 std::string ToStringHelperDM(
double value)
const;
209 std::string ToStringHelperDMS(
double value)
const;
The abstract base class used by all types of agents that live and interact in a simulation.
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....