Namespace Acts::Transform3JsonConverter
-
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.
Public Members
-
bool transpose = true
Apply a transpose to flip column/row order.
-
bool writeIdentity = false
Write the identity transform explicitly.
-
bool transpose = true
-
Transform3 fromJson(const nlohmann::json &jTransform)