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::FromRadii< T > Struct Template Reference

A source of radii reading one array of T, indexed by cloud index. More...

#include <EBGeometry_SphereCloud.hpp>

Public Member Functions

T operator() (const uint32_t a_index) const noexcept
 The radius of the sphere with a cloud index.
 

Public Attributes

const T * m_radii = nullptr
 The radii, indexed by cloud index.
 

Detailed Description

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

A source of radii reading one array of T, indexed by cloud index.

Template Parameters
TFloating-point precision.

Member Function Documentation

◆ operator()()

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

The radius of the sphere with a cloud index.

Parameters
[in]a_indexCloud index.
Returns
The radius.

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