MeshLib C++ Docs
Loading...
Searching...
No Matches
MRId.h File Reference
#include "MRMeshFwd.h"
#include "MRMacros.h"
#include <cassert>
#include <cstddef>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  MR::Id< T >
 stores index of some element, it is made as template class to avoid mixing faces, edges and vertices More...
class  MR::NoInitId< T >
 Variant of Id<T> with omitted initialization by default. Useful for containers. More...
class  MR::Id< EdgeTag >
class  MR::Id< VoxelTag >

Namespaces

namespace  MR
 only for bindings generation

Functions

template<typename T>
constexpr Id< T > MR::operator+ (Id< T > id, int a)
template<typename T>
constexpr Id< T > MR::operator+ (Id< T > id, unsigned int a)
template<typename T>
constexpr Id< T > MR::operator+ (Id< T > id, size_t a)
template<typename T>
constexpr Id< T > MR::operator- (Id< T > id, int a)
template<typename T>
constexpr Id< T > MR::operator- (Id< T > id, unsigned int a)
template<typename T>
constexpr Id< T > MR::operator- (Id< T > id, size_t a)
constexpr FaceId MR::operator""_f (unsigned long long i) noexcept
constexpr VertId MR::operator""_v (unsigned long long i) noexcept
constexpr EdgeId MR::operator""_e (unsigned long long i) noexcept
constexpr UndirectedEdgeId MR::operator""_ue (unsigned long long i) noexcept
constexpr VoxelId MR::operator""_vox (unsigned long long i) noexcept