Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-13 08:35:28

0001 // This file is part of the actsvg packge.
0002 //
0003 // Copyright (C) 2022 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include <string>
0012 #include <array>
0013 
0014 namespace actsvg {
0015 static const std::string __l = "<";
0016 static const std::string __r = ">\n";
0017 static const std::string __el = "</";
0018 static const std::string __er = "/>\n";
0019 static const std::string __fs = "/";
0020 static const std::string __tab = "\t";
0021 static const std::string __nl = "\n";
0022 static const std::string __blk = " ";
0023 static const std::string __c = ",";
0024 static const std::string __d = ".";
0025 
0026 /// @todo make configurable via compile time
0027 using scalar = float;
0028 
0029 using point2 = std::array<scalar, 2>;
0030 
0031 }  // namespace actsvg