Functions
HilbertOrder.hpp File Reference

Hilbert space filling curve. More...

#include <vector>
#include <stack>
#include <algorithm>
#include <cmath>
#include "geometry.hpp"
#include "../misc/universal_error.hpp"
Include dependency graph for HilbertOrder.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

vector< int > HilbertOrder (vector< Vector2D > const &cor, int num, int innernum=0)
 Returns the Hilber curve ordering. More...
 

Detailed Description

Hilbert space filling curve.

Author
Elad Steinberg

Definition in file HilbertOrder.hpp.

Function Documentation

◆ HilbertOrder()

vector<int> HilbertOrder ( vector< Vector2D > const &  cor,
int  num,
int  innernum = 0 
)

Returns the Hilber curve ordering.

Parameters
corThe points
numThe number of points (starting from 0) to calculate the order for
innernumThe number of points to exclude (starting from 0)
Returns
The hilbert order indeces

Definition at line 103 of file HilbertOrder.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: