|
wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
|
#include <algorithm>#include <cstddef>#include <tuple>#include <utility>#include "wuzp/core/MatrixSize.hpp"#include "wuzp/core/helpers.hpp"#include "wuzp/core/traits.hpp"Go to the source code of this file.
Namespaces | |
| namespace | wuzp |
Typedefs | |
| template<size_t ColsV_, typename... Ts> | |
| using | wuzp::ToRows = ToRowsImpl<ColsV_, std::tuple<Ts...>, std::make_index_sequence<sizeof...(Ts) / ColsV_>> |
| template<size_t ColsV_, typename... Ts> | |
| using | wuzp::ToCols = ToColsImpl<ColsV_, std::tuple<Ts...>, std::make_index_sequence<ColsV_>> |
| template<int SizeV_, typename ZeroType, typename OneType> | |
| using | wuzp::DiagonalTypeMatrix |
| template<int RowsV_, int ColsV_, typename... Types> | |
| using | wuzp::TypeMatrix = typename CreateTypeMatrix<RowsV_, ColsV_, Types...>::type |
| A matrix storing types at compile-time. | |
| template<int RowsV_, typename... Types> | |
| using | wuzp::TypeVector = typename CreateTypeMatrix<RowsV_, 1, Types...>::type |
| A vector storing types at compile-time. | |
| template<typename TypeT_> | |
| using | wuzp::TypeScalar = typename CreateTypeMatrix<1, 1, TypeT_>::type |
| A scalar storing a type at compile-time. | |