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::PointCloudDetail::Centers< Prim, Source > Struct Template Reference

A source of primitive centers, from a source of primitives. More...

#include <EBGeometry_CloudBVH.hpp>

Public Member Functions

auto operator() (const uint32_t a_index) const noexcept
 The center of a primitive.
 

Public Attributes

Source m_source
 The primitives.
 

Detailed Description

template<class Prim, class Source>
struct EBGeometry::PointCloudDetail::Centers< Prim, Source >

A source of primitive centers, from a source of primitives.

Internal; not part of the public API.

Template Parameters
PrimThe primitive type.
SourceThe primitives' source.

Member Function Documentation

◆ operator()()

template<class Prim , class Source >
auto EBGeometry::PointCloudDetail::Centers< Prim, Source >::operator() ( const uint32_t  a_index) const
inlinenoexcept

The center of a primitive.

Parameters
[in]a_indexCloud index.
Returns
Its center.

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