Clamps each component into the range [min, max] (assumed component-wise min <= max).
[min, max]
min <= max
A reference to this vector.
The minimum x and y values.
The maximum x and y values in the desired range.