EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
EBGeometry_Constants.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Robert Marskar <robert.marskar@sintef.no>
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
11#ifndef EBGEOMETRY_CONSTANTS_HPP
12#define EBGEOMETRY_CONSTANTS_HPP
13
14namespace EBGeometry {
15
22template <class T>
23inline constexpr T pi = T(3.14159265358979323846L);
24
25} // namespace EBGeometry
26
27#endif
Namespace containing all of EBGeometry's functionality.
Definition EBGeometry_AnalyticDistanceFunctions.hpp:31
constexpr T pi
The mathematical constant π, typed as T.
Definition EBGeometry_Constants.hpp:23