File indexing completed on 2026-09-26 08:04:10
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "ActsPlugins/Json/SurfaceBoundsJsonConverter.hpp"
0010
0011 #include "Acts/Surfaces/SurfaceBounds.hpp"
0012 #include "ActsPlugins/Json/DetrayJsonHelper.hpp"
0013
0014 void Acts::to_json(nlohmann::json& j, const Acts::SurfaceBounds& bounds) {
0015 j["type"] = bounds.type();
0016 j["values"] = bounds.values();
0017 }
0018
0019 nlohmann::json Acts::SurfaceBoundsJsonConverter::toJson(
0020 const Acts::SurfaceBounds& bounds) {
0021 return nlohmann::json(bounds);
0022 }