|
Celeritas 0.7.0-dev.170+develop.df22d2a88
|

Functions | |
| template<class T > | |
| void | celeritas::from_json (nlohmann::json const &j, BoundingBox< T > &bbox) |
| Read a bounding box from a JSON file. | |
| template<class T > | |
| void | celeritas::to_json (nlohmann::json &j, BoundingBox< T > const &bbox) |
| Write a bounding box to a JSON file. | |
| void celeritas::from_json | ( | nlohmann::json const & | j, |
| BoundingBox< T > & | bbox | ||
| ) |
Read a bounding box from a JSON file.
A bounding box is a pair of lower/upper points, with the exception of a "null" (enclosing no points) bounding box.