|
| | Config2d (const float32_t min_x, const float32_t max_x, const float32_t min_y, const float32_t max_y, const float32_t radius, const Index capacity) |
| | Config constructor for 2D spatial hash. More...
|
| |
| Index | bin_ (const float32_t x, const float32_t y, const float32_t z) const |
| | The index of a point given it's x, y and z values, 2d implementation. More...
|
| |
| bool8_t | valid (const details::Index3 &ref, const details::Index3 &query) const |
| | Determine if a bin could possibly hold a point within a distance to any point in a reference bin for the 2D case. More...
|
| |
| details::Index3 | index3_ (const float32_t x, const float32_t y, const float32_t z) const |
| | Compute the decomposed index given a point, 2d implementation. More...
|
| |
| Index | index_ (const details::Index3 &idx) const |
| | Compute the composed single index given a decomposed index, 2d implementation. More...
|
| |
| template<typename PointT > |
| float32_t | distance_squared_ (const float32_t x, const float32_t y, const float32_t z, const PointT &pt) const |
| | Compute the squared distance between the two points, 2d implementation. More...
|
| |
| | Config (const float32_t min_x, const float32_t max_x, const float32_t min_y, const float32_t max_y, const float32_t min_z, const float32_t max_z, const float32_t radius, const Index capacity) |
| | Constructor for spatial hash. More...
|
| |
| details::BinRange | bin_range (const details::Index3 &ref) const |
| | Given a reference index triple, compute the first and last bin. More...
|
| |
| bool8_t | next_bin (const details::BinRange &range, details::Index3 &idx) const |
| | Get next index within a given range. More...
|
| |
| Index | get_capacity () const |
| | Get the maximum capacity of the spatial hash. More...
|
| |
| float32_t | radius2 () const |
| | Getter for the side length, equivalently the lookup radius. More...
|
| |
| Index | bin (const float32_t x, const float32_t y, const float32_t z) const |
| | Compute the single index given a point. More...
|
| |
| bool8_t | is_candidate_bin (const details::Index3 &ref, const details::Index3 &query) const |
| | Compute whether the query bin and reference bin could possibly contain a pair of points such that their distance is within a certain threshold. More...
|
| |
| details::Index3 | index3 (const float32_t x, const float32_t y, const float32_t z) const |
| | Compute the decomposed index given a point. More...
|
| |
| Index | index (const details::Index3 &idx) const |
| | Compute the composed single index given a decomposed index. More...
|
| |
| float32_t | distance_squared (const float32_t x, const float32_t y, const float32_t z, const PointT &pt) const |
| | Compute the squared distance between the two points. More...
|
| |
|
| Index | x_index (const float32_t x) const |
| | Computes the index in the x basis direction. More...
|
| |
| Index | y_index (const float32_t y) const |
| | Computes the index in the y basis direction. More...
|
| |
| Index | z_index (const float32_t z) const |
| | Computes the index in the z basis direction. More...
|
| |
| Index | bin_impl (const Index xdx, const Index ydx) const |
| | Compose the provided index offsets. More...
|
| |
| Index | bin_impl (const Index xdx, const Index ydx, const Index zdx) const |
| | Compose the provided index offsets. More...
|
| |
| Index | bin_impl (const float32_t x, const float32_t y) const |
| | The index offset of a point given it's x and y values. More...
|
| |
| Index | bin_impl (const float32_t x, const float32_t y, const float32_t z) const |
| | The index of a point given it's x, y and z values. More...
|
| |
| float32_t | idx_distance (const Index ref_idx, const Index query_idx) const |
| | The distance between two indices as a float, where adjacent indices have zero distance (e.g. dist(0, 1) = 0) More...
|
| |
| const Config2d & | impl () const |
| |
| Config2d & | impl () |
| |
Configuration class for a 2d spatial hash.