UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
closest_point.hpp
1
42#ifndef UFO_GEOMETRY_CLOSEST_POINT_HPP
43#define UFO_GEOMETRY_CLOSEST_POINT_HPP
44
45// UFO
46#include <ufo/geometry/detail/closest_point.hpp>
47
48namespace ufo
49{
64template <class A, class B>
65[[nodiscard]] constexpr auto closestPoint(A const& a, B const& b)
66{
67 return detail::closestPoint(a, b);
68}
69
73} // namespace ufo
74
75#endif // UFO_GEOMETRY_CLOSEST_POINT_HPP
constexpr auto closestPoint(A const &a, B const &b)
Computes the closest point on a shape to another shape.
All vision-related classes and functions.
Definition cloud.hpp:49
constexpr T b(Lab< T, Flags > color) noexcept
Returns the un-weighted blue–yellow axis value.
Definition lab.hpp:326
constexpr T a(Lab< T, Flags > color) noexcept
Returns the un-weighted green–red axis value.
Definition lab.hpp:310