forked from arborx/ArborX
-
Notifications
You must be signed in to change notification settings - Fork 0
ArborX::intersects
Andrey Prokopenko edited this page Oct 28, 2024
·
2 revisions
template <typename Geometry>
KOKKOS_FUNCTION unspecified intersects(Geometry const& geometry) noexcept;
Generate a spatial predicate to perform a search with in a spatial index' query()
.
Geometry
: The geometry type, e.g. ArborX::Point
, ArborX::Box
, or ArborX::Sphere
.
geometry
: The geometry object.
auto intersects_with_unit_sphere_pred = ArborX::intersects(ArborX::Sphere{{{0.f, 0.f, 0.f}}, 1.f});