EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
EBGeometry::SphereCloud::FromArray< T > Struct Template Reference

A source of spheres reading one array of Sphere<T>, indexed by cloud index. 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

const Sphere< T > * m_spheres = nullptr
 The spheres, indexed by cloud index.
 

Detailed Description

template<class T>
struct EBGeometry::SphereCloud::FromArray< T >

A source of spheres reading one array of Sphere<T>, indexed by cloud index.

Trivially copyable, so a build can read it on a device; the array must then be in memory the device can read.

Template Parameters
TFloating-point precision.

Member Function Documentation

◆ operator()()

template<class T >
Sphere< T > EBGeometry::SphereCloud::FromArray< T >::operator() ( const uint32_t  a_index) const
inlinenoexcept

The sphere with a cloud index.

Parameters
[in]a_indexCloud index.
Returns
The sphere.

The documentation for this struct was generated from the following file: