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::MortonKey Struct Reference

A primitive's sort key in a cloud BVH build: its center's Morton code, ties broken by its cloud index. More...

#include <EBGeometry_CloudBVH.hpp>

Public Member Functions

bool operator< (const MortonKey &a_other) const noexcept
 Whether this key sorts before a_other: by code, then by cloud index.
 

Public Attributes

uint64_t m_code
 The Morton code of the primitive center's cell.
 
uint32_t m_index
 The primitive's cloud index.
 

Detailed Description

A primitive's sort key in a cloud BVH build: its center's Morton code, ties broken by its cloud index.

Internal; not part of the public API.

Member Function Documentation

◆ operator<()

bool EBGeometry::PointCloudDetail::MortonKey::operator< ( const MortonKey &  a_other) const
inlinenoexcept

Whether this key sorts before a_other: by code, then by cloud index.

Parameters
[in]a_otherThe other key.
Returns
True if this key comes first.

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