Skip to content

ArborX::intersects

Andrey Prokopenko edited this page Oct 28, 2024 · 2 revisions

ArborX / Predicates

ArborX::intersects

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().

Template parameter(s)

Geometry : The geometry type, e.g. ArborX::Point, ArborX::Box, or ArborX::Sphere.

Parameter(s)

geometry : The geometry object.

Example

auto intersects_with_unit_sphere_pred = ArborX::intersects(ArborX::Sphere{{{0.f, 0.f, 0.f}}, 1.f});
Clone this wiki locally