42#ifndef UFO_GEOMETRY_FUN_HPP
43#define UFO_GEOMETRY_FUN_HPP
46#include <ufo/geometry/detail/fun.hpp>
57template <
class Geometry>
58[[nodiscard]]
constexpr Vec<Geometry::dimension(),
typename Geometry::value_type>
min(
61 return detail::min(g);
71template <
class Geometry>
72[[nodiscard]]
constexpr Vec<Geometry::dimension(),
typename Geometry::value_type>
max(
75 return detail::max(g);
85template <
class Geometry>
86[[nodiscard]]
constexpr auto corners(Geometry
const& g)
88 return detail::corners(g);
All vision-related classes and functions.
constexpr Vec< Geometry::dimension(), typename Geometry::value_type > max(Geometry const &g)
Returns the maximum coordinate of the minimum spanning axis-aligned bounding box of a geometry.
constexpr Vec< Geometry::dimension(), typename Geometry::value_type > min(Geometry const &g)
Returns the minimum coordinate of the minimum spanning axis-aligned bounding box of a geometry.
constexpr auto corners(Geometry const &g)
Returns the corners of the minimum spanning axis-aligned bounding box of a geometry.
A fixed-size arithmetic vector of up to 4 dimensions.