Celeritas
0.5.0-86+4a8eea4
|
Functions | |
template<class T > | |
void | celeritas::from_json (nlohmann::json const &j, BoundingBox< T > &bbox) |
Read a bounding box from a JSON file. More... | |
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.