OctTree.cpp File Reference

#include <sstream>
#include <ostream>
#include <stdexcept>
#include <stk_search/OctTree.hpp>

Go to the source code of this file.

Namespaces

namespace  stk
 

Sierra Toolkit.


Enumerations

enum  { OK = StaticAssert< OctTreeKey::NWord == 2 >::OK }

Functions

ostream & std::operator<< (ostream &os, const stk::OctTreeKey &otk)
unsigned stk::oct_tree_size (const unsigned Depth)
 Number of nodes in an oct-tree of a given depth.
unsigned stk::oct_tree_offset (const unsigned Depth, const OctTreeKey &k)
 Offset of a oct-tree node in a dense tree of a given depth.
OctTreeKey stk::hsfc3d (const unsigned Depth, const unsigned *const coord)
 Generate a 3D Hilbert space filling curve oct-tree key from an integer XYZ coordinate.

Detailed Description

Author:
H. Carter Edwards
Date:
January 2007

Definition in file OctTree.cpp.

Generated on Wed Apr 13 10:05:49 2011 for Sierra Toolkit by  doxygen 1.6.3