|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
A source of spheres combining a source of centers and a source of radii, for a caller who keeps them apart. More...
#include <EBGeometry_SphereCloud.hpp>
Public Member Functions | |
| Sphere< T > | operator() (const uint32_t a_index) const noexcept |
| The sphere with a cloud index. | |
Public Attributes | |
| Centers | m_centers |
| The centers. | |
| Radii | m_radii |
| The radii. | |
A source of spheres combining a source of centers and a source of radii, for a caller who keeps them apart.
With PointCloud::FromArray and FromRadii, it reads two arrays; any other trivially copyable sources work too (radii computed from a particle's mass, say).
| T | Floating-point precision. |
| Centers | A source of centers: a trivially copyable type whose const call operator takes a cloud index (uint32_t) and returns a Vec3T<T>. |
| Radii | A source of radii: a trivially copyable type whose const call operator takes a cloud index (uint32_t) and returns a T. |
|
inlinenoexcept |
The sphere with a cloud index.
| [in] | a_index | Cloud index. |