OctTree.cpp File Reference


Detailed Description

Author:
H. Carter Edwards
Date:
January 2007

Definition in file OctTree.cpp.

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

Go to the source code of this file.

Namespaces

namespace  std
namespace  stk

Enumerations

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

Functions

ostream & std::operator<< (ostream &os, const stk::OctTreeKey &otk)
void stk::throw_index (const unsigned d, const unsigned i)
void stk::throw_depth (const unsigned min_depth, const unsigned depth)
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.

Variables

const unsigned stk::tree_size [11]


Generated on Tue Jul 13 09:27:32 2010 for Sierra Toolkit by  doxygen 1.4.7