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