Template Struct Bucket

Struct Documentation

template<class T>
struct Bucket

The bucket class describes a cell on the S2 Histogram. It unfortunately has one member that should not really exist (projection).

Template Parameters
  • T:

Public Functions

bool operator<(const Bucket &other) const

Public Members

std::array<double, 3> normal

The surface unit normal of the triangle cell

uint32_t count

Count variable for histogram

T hilbert_value

Space Filling Curve value, may be Int32 or Uint64

std::array<double, 2> projection

Ignore this