Visual Computing Library
Loading...
Searching...
No Matches
vertex_range.h
1/*****************************************************************************
2 * VCLib *
3 * Visual Computing Library *
4 * *
5 * Copyright(C) 2021-2025 *
6 * Visual Computing Lab *
7 * ISTI - Italian National Research Council *
8 * *
9 * All rights reserved. *
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the Mozilla Public License Version 2.0 as published *
13 * by the Mozilla Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 * This program is distributed in the hope that it will be useful, *
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
19 * Mozilla Public License Version 2.0 *
20 * (https://www.mozilla.org/en-US/MPL/2.0/) for more details. *
21 ****************************************************************************/
22
23#ifndef VCL_CONCEPTS_RANGES_MESH_VERTEX_RANGE_H
24#define VCL_CONCEPTS_RANGES_MESH_VERTEX_RANGE_H
25
26#include <vclib/concepts/mesh/elements/vertex.h>
27#include <vclib/concepts/pointers.h>
28#include <vclib/concepts/ranges/range.h>
29
30namespace vcl {
31
41template<typename Rng>
43 Range<Rng> &&
45
55template<typename Rng>
57 Range<Rng> &&
59 VertexConcept<typename std::decay_t<
60 RemovePtr<typename std::ranges::iterator_t<Rng>::value_type>>>;
61
62} // namespace vcl
63
64#endif // VCL_CONCEPTS_RANGES_MESH_VERTEX_RANGE_H
The IsPointer concept is satisfied if T is a Pointer, even if the type T is a reference to a pointer.
Definition pointers.h:53
Utility concept that is evaluated true if T is a range, e.g. if has a begin and an end.
Definition range.h:39
The VertexConcept describes how a Vertex element that can be used for a VertexContainer should be org...
Definition vertex.h:106
The VertexPointerRangeConcept evaluates to true if Rng is a valid Range on Vertex Pointers.
Definition vertex_range.h:56
The VertexRangeConcept evaluates to true if Rng is a valid Range on Vertices.
Definition vertex_range.h:42