File AlgebraJsonConverter.hpp
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
Functions
-
void from_json(const nlohmann::json &j, Transform3 &t)
-
void to_json(nlohmann::json &j, const Transform3 &t)
-
namespace Transform3JsonConverter
Functions
-
Transform3 fromJson(const nlohmann::json &jTransform)
The Transform converter from json.
- Parameters
jTransform – the transform json transformation
- Returns
a transform object
-
nlohmann::json toJson(const Transform3 &t, const Options &options = {})
The Transform converter to json.
- Parameters
t – the transform to be converted
options – transformation options
- Returns
a json object representing the transform
-
struct Options
- #include <Acts/Plugins/Json/AlgebraJsonConverter.hpp>
The options for the transform converter.
-
Transform3 fromJson(const nlohmann::json &jTransform)
-
void from_json(const nlohmann::json &j, Transform3 &t)