aest 0.1.0
Collection of C++ utility libraries
Loading...
Searching...
No Matches
aest::colors::EuclideanSpace Concept Referenceexport

A color space in which euclidean() can measure distances through Euclidean. More...

Concept definition

template<typename T>
concept EuclideanSpace = ColorType<T> && requires(const T& color) {
{ Euclidean<T>::distance(color, color) } -> std::same_as<float>;
}
Concept to check if a type is a color.
Definition Color.cppm:448
A color space in which euclidean() can measure distances through Euclidean.
Measures the Euclidean distance between two colors of a color space.
Definition Distance.cppm:52

Detailed Description

A color space in which euclidean() can measure distances through Euclidean.

Template Parameters
TThe type to check

Definition at line 123 of file Distance.cppm.