Visual Computing Library
All Classes Functions Variables Typedefs Enumerations Friends Modules Pages Concepts
vcl::TexCoordIndexedConcept Concept Reference

A concept representing a Texture Coordinate with an index. More...

#include <vclib/concepts/space/tex_coord_indexed.h>

Concept definition

template<typename T>
TexCoordConcept<T> && requires (
T&& obj,
ushort u,
ushort& uR,
typename RemoveRef<T>::ScalarType s) {
typename RemoveRef<T>::ScalarType;
RemoveRef<T>();
RemoveRef<T>(s, s, u);
{ obj.index() } -> std::convertible_to<decltype(u)>;
{ obj <=> obj } -> std::convertible_to<std::partial_ordering>;
requires IsConst<T> || requires {
{ obj.index() } -> std::same_as<decltype(uR)>;
{ obj.set(s, s, u) } -> std::same_as<void>;
};
}
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
A concept representing a Texture Coordinate.
Definition tex_coord.h:37
A concept representing a Texture Coordinate with an index.
Definition tex_coord_indexed.h:37

Detailed Description

A concept representing a Texture Coordinate with an index.

Template Parameters
TThe type to be tested for conformity to the TexCoordIndexedConcept.