Hilbert 3D Order - Utility functions. More...


Go to the source code of this file.
Functions | |
| int | EstimateHilbertIterationNum (vector< Vector3D > const &cor) |
| Estimate the number of iterations required in the Hilbert Curve, according to the number of points. More... | |
| void | AdjustPoints (vector< Vector3D > const &vPointsIn, vector< Vector3D > &vPointsOut) |
| Scale a vector of 3D points to the unit-cube. More... | |
| void | FindEqualIndices (vector< size_t > const &vD_sorted, vector< vector< size_t > > &vOut) |
| Scale a vector of 3D points to the unit-cube. More... | |
| template<class T > | |
| void | reorder (vector< T > &v, vector< size_t > const &order) |
| Reorder a vector according to an index vector (obtained from the 'ordered' function) More... | |
Hilbert 3D Order - Utility functions.
Definition in file HilbertOrder3D_Utils.hpp.
Scale a vector of 3D points to the unit-cube.
| vPointsIn | The input points |
| vPointsOut | (out) The output points |
Definition at line 18 of file HilbertOrder3D_Utils.cpp.


| int EstimateHilbertIterationNum | ( | vector< Vector3D > const & | cor | ) |
Estimate the number of iterations required in the Hilbert Curve, according to the number of points.
| cor | The points |
Definition at line 4 of file HilbertOrder3D_Utils.cpp.


| void FindEqualIndices | ( | vector< size_t > const & | vD_sorted, |
| vector< vector< size_t > > & | vOut | ||
| ) |
Scale a vector of 3D points to the unit-cube.
| vD_sorted | The input points |
| vOut | (out) The output points |
Definition at line 98 of file HilbertOrder3D_Utils.cpp.


| void reorder | ( | vector< T > & | v, |
| vector< size_t > const & | order | ||
| ) |
Reorder a vector according to an index vector (obtained from the 'ordered' function)
| v | Output |
| order | New order given by a series of indices |
Definition at line 39 of file HilbertOrder3D_Utils.hpp.

1.8.13