23#ifndef VCL_CONCEPTS_MESH_COMPONENTS_WEDGE_COLORS_H
24#define VCL_CONCEPTS_MESH_COMPONENTS_WEDGE_COLORS_H
28#include <vclib/concepts/iterators.h>
29#include <vclib/concepts/ranges/range.h>
30#include <vclib/concepts/space/color.h>
53 typename RemoveRef<T>::WedgeColorType c,
54 std::vector<typename RemoveRef<T>::WedgeColorType> vec) {
55 RemoveRef<T>::WEDGE_COLOR_NUMBER;
56 typename RemoveRef<T>::WedgeColorType;
57 typename RemoveRef<T>::WedgeColorsIterator;
58 typename RemoveRef<T>::ConstWedgeColorsIterator;
66 { obj.wedgeColors() } ->
InputRange<
decltype(c)>;
70 { obj.setWedgeColor(uint(), c) } -> std::same_as<void>;
71 { obj.setWedgeColors(vec) } -> std::same_as<void>;
ColorConcept is satisfied only if a class provides the member functions specified in this concept....
Definition color.h:41
The IsConst concept is satisfied if T satisfies one of the following conditions:
Definition const_correctness.h:43
The OutputIterator concept is satisfied if T is an output iterator that implements the operator* retu...
Definition iterators.h:60
Utility concept that is evaluated true the Range R is an Output Range and has a value_type that is T.
Definition range.h:113
HasOptionalWedgeColors concept is satisfied only if a class satisfies the vcl::comp::HasWedgeColors c...
Definition wedge_colors.h:88
HasRightNumberOfWedgeColors concept.
Definition wedge_colors.h:103
HasWedgeColors concept is satisfied only if a Element class provides the types and member functions s...
Definition wedge_colors.h:51
Evaluates to true if the type T is a component that is stored vertically in its element container,...
Definition component.h:72
SanityCheckWedgeColors concept.
Definition wedge_colors.h:118