qtty-cpp 0.4.5
Header-only C++ wrapper for qtty
Loading...
Searching...
No Matches
radiance.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2// Copyright (C) 2026 Vallés Puig, Ramon
3
4#pragma once
5
6#include "../ffi_core.hpp"
7
8namespace qtty {
9
12
15 static constexpr std::string_view symbol() { return "W·m⁻²·sr⁻¹"; }
16 static constexpr DimensionId dimension() { return DIMENSION_ID_RADIANCE; }
17};
20 static constexpr std::string_view symbol() { return "erg·s⁻¹·cm⁻²·sr⁻¹"; }
21 static constexpr DimensionId dimension() { return DIMENSION_ID_RADIANCE; }
22};
23
26
27} // namespace qtty
constexpr bool is_angular_v
Definition angles.hpp:49
static constexpr std::string_view symbol()
Definition radiance.hpp:15
static constexpr DimensionId dimension()
Definition radiance.hpp:16