UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
inside.hpp
1
42#ifndef UFO_GEOMETRY_INSIDE_HPP
43#define UFO_GEOMETRY_INSIDE_HPP
44
45#include <ufo/geometry/contains.hpp>
46
47namespace ufo
48{
61template <class A, class B>
62[[nodiscard]] constexpr bool inside(A const& a, B const& b)
63{
64 return contains(b, a);
65}
66} // namespace ufo
67
68#endif // UFO_GEOMETRY_INSIDE_HPP
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 bool inside(A const &a, B const &b)
Checks if a shape is inside another shape.
Definition inside.hpp:62
constexpr T a(Lab< T, Flags > color) noexcept
Returns the un-weighted green–red axis value.
Definition lab.hpp:310
constexpr bool contains(A const &a, B const &b)
Checks if a shape contains another shape.
Definition contains.hpp:63