EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Classes | Namespaces
EBGeometry_SphereCloudRayForm.hpp File Reference

The ray form (see RayForm) of SphereCloudBVH: its BVH walked along the ray (PackedBVH::traverse() with BVH::RayQuery), each sphere crossed exactly (SphereAoSoA::rayIntervals()), and the spheres' spans united, so that where spheres overlap the ray crosses only the surface of their union. With this header included, firstHit() on a sphere cloud is exact instead of marched, and so are the compositions it is part of, through spans(). More...

#include <cstddef>
#include <cstdint>
#include "EBGeometry_Ray.hpp"
#include "EBGeometry_SphereCloudBVH.hpp"
Include dependency graph for EBGeometry_SphereCloudRayForm.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EBGeometry::RayForm< SphereCloudBVH< T, K, W > >
 SphereCloudBVH's ray form: the union of the spans of the spheres the ray passes through, found by walking the BVH nearest box first and leaving out the boxes beyond what the union so far is known up to. Exact, and callable on a device. More...
 

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 

Detailed Description

The ray form (see RayForm) of SphereCloudBVH: its BVH walked along the ray (PackedBVH::traverse() with BVH::RayQuery), each sphere crossed exactly (SphereAoSoA::rayIntervals()), and the spheres' spans united, so that where spheres overlap the ray crosses only the surface of their union. With this header included, firstHit() on a sphere cloud is exact instead of marched, and so are the compositions it is part of, through spans().

Author
Robert Marskar