GLAMERDOC++
Gravitational Lensing Code Library
|
The box representing a branch of a binary tree structure. Used specifically in TreeStruct for organizing points in the grid. More...
#include <point.h>
Public Member Functions | |
Branch (Point *my_points, unsigned long my_npoints, double my_boundary_p1[2], double my_boundary_p2[2], double my_center[2], int my_level) | |
void | print () |
print out all member data for testing purposes | |
PosType | area () |
Public Attributes | |
struct Point * | points |
unsigned long | npoints |
pointer to first points in Branch | |
double | center [2] |
int | level |
unsigned long | number |
double | boundary_p1 [2] |
double | boundary_p2 [2] |
Branch * | child1 |
Branch * | child2 |
Branch * | brother |
Branch * | prev |
bool | refined |
Marks point as start of a level of refinement. | |
std::list< Branch * > | neighbors |
The box representing a branch of a binary tree structure. Used specifically in TreeStruct for organizing points in the grid.