23#ifndef VCL_BASE_MIN_MAX_H
24#define VCL_BASE_MIN_MAX_H
40constexpr auto min(
const T& p1,
const T&
p2)
42 return std::min(p1,
p2);
64template<
typename Head,
typename... Tail>
66 requires (
sizeof...(tail) > 0)
81constexpr auto max(
const T& p1,
const T&
p2)
83 return std::max(p1,
p2);
105template<
typename Head,
typename... Tail>
107 requires (
sizeof...(tail) > 0)
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:41
constexpr auto max(const T &p1, const T &p2)
Returns the maximum between the two parameters.
Definition min_max.h:81
constexpr auto min(const T &p1, const T &p2)
Returns the minimum between the two parameters.
Definition min_max.h:40