|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
A source of point positions for the builds that take one (PointCloudHashGrid::build()): an array of Vec3T, read as it is. More...
#include <EBGeometry_PointCloud.hpp>
Public Member Functions | |
| Vec3T< T > | operator() (const uint32_t a_index) const noexcept |
| Position of a point. | |
Public Attributes | |
| const Vec3T< T > * | m_positions = nullptr |
| The positions, indexed by cloud index. | |
A source of point positions for the builds that take one (PointCloudHashGrid::build()): an array of Vec3T, read as it is.
A source is any trivially copyable type with a const call operator that takes a cloud index and returns that point's position, callable where the build runs (on a device, for a build into device memory). Write one for data in another layout: separate x, y and z arrays, a struct per particle, another precision.
| T | Floating-point precision. |
|
inlinenoexcept |
Position of a point.
| [in] | a_index | Cloud index. |