Public Member Functions | Private Attributes
megatree::NodeGeometry Class Reference

#include <node_geometry.h>

List of all members.

Public Member Functions

bool contains (const double pt[3]) const
bool contains (const std::vector< double > &pt) const
bool contains (double x, double y, double z) const
double getCenter (int i) const
NodeGeometry getChild (uint8_t to_child) const
double getHi (int i) const
unsigned int getLevel () const
double getLo (int i) const
NodeGeometry getParent (uint8_t from_child) const
double getSize () const
 NodeGeometry ()
 NodeGeometry (const std::vector< double > &tree_center, double tree_size)
 NodeGeometry (const double tree_center[3], double tree_size)
 NodeGeometry (int _level, const double _lo[3], const double _hi[3])
 NodeGeometry (const NodeGeometry &ng)
NodeGeometryoperator= (const NodeGeometry &ng)
uint8_t whichChild (const double pnt[3]) const

Private Attributes

double hi [3]
unsigned int level
double lo [3]

Detailed Description

Definition at line 12 of file node_geometry.h.


Constructor & Destructor Documentation

Definition at line 15 of file node_geometry.h.

megatree::NodeGeometry::NodeGeometry ( const std::vector< double > &  tree_center,
double  tree_size 
) [inline]

Definition at line 18 of file node_geometry.h.

megatree::NodeGeometry::NodeGeometry ( const double  tree_center[3],
double  tree_size 
) [inline]

Definition at line 28 of file node_geometry.h.

megatree::NodeGeometry::NodeGeometry ( int  _level,
const double  _lo[3],
const double  _hi[3] 
) [inline]

Definition at line 36 of file node_geometry.h.

Definition at line 43 of file node_geometry.h.


Member Function Documentation

bool megatree::NodeGeometry::contains ( const double  pt[3]) const [inline]

Definition at line 122 of file node_geometry.h.

bool megatree::NodeGeometry::contains ( const std::vector< double > &  pt) const [inline]

Definition at line 123 of file node_geometry.h.

bool megatree::NodeGeometry::contains ( double  x,
double  y,
double  z 
) const [inline]

Definition at line 124 of file node_geometry.h.

double megatree::NodeGeometry::getCenter ( int  i) const [inline]

Definition at line 113 of file node_geometry.h.

NodeGeometry megatree::NodeGeometry::getChild ( uint8_t  to_child) const [inline]

Definition at line 52 of file node_geometry.h.

double megatree::NodeGeometry::getHi ( int  i) const [inline]

Definition at line 119 of file node_geometry.h.

unsigned int megatree::NodeGeometry::getLevel ( ) const [inline]

Definition at line 140 of file node_geometry.h.

double megatree::NodeGeometry::getLo ( int  i) const [inline]

Definition at line 118 of file node_geometry.h.

NodeGeometry megatree::NodeGeometry::getParent ( uint8_t  from_child) const [inline]

Definition at line 76 of file node_geometry.h.

double megatree::NodeGeometry::getSize ( ) const [inline]

Definition at line 109 of file node_geometry.h.

NodeGeometry& megatree::NodeGeometry::operator= ( const NodeGeometry ng) [inline]

Definition at line 132 of file node_geometry.h.

uint8_t megatree::NodeGeometry::whichChild ( const double  pnt[3]) const [inline]

Definition at line 97 of file node_geometry.h.


Member Data Documentation

double megatree::NodeGeometry::hi[3] [private]

Definition at line 143 of file node_geometry.h.

unsigned int megatree::NodeGeometry::level [private]

Definition at line 144 of file node_geometry.h.

double megatree::NodeGeometry::lo[3] [private]

Definition at line 143 of file node_geometry.h.


The documentation for this class was generated from the following file:


megatree_core
Author(s): Stuart Glaser
autogenerated on Thu Nov 28 2013 11:30:23