![]() |
PhoenixGraph
01.0.0
Set of tools to simplify graph manipulation
|
Go to the source code of this file.
Functions | |
template<typename T, unsigned char N> | |
bool | checkSizeLimitLight (const T halfSizeChild[N], T sizeLimit) |
Check the size of the childs of a N Tree. | |
template<typename T, unsigned char N> | |
T | getDistanceFromData (const T posA[N], const T posB[N]) |
Get the distance between two points. | |
template<unsigned char N> | |
unsigned int | getNeighbourCellIndex (unsigned char indexChild[N], unsigned char currentChildIndex[N]) |
Get the index of the check neighbours tab. | |
template<typename T, unsigned char N> | |
void | makeHalfSize (T childSize[N], const T parentSize[N]) |
Get the size of the child. | |
bool checkSizeLimitLight | ( | const T | halfSizeChild[N], |
T | sizeLimit ) |
Check the size of the childs of a N Tree.
halfSizeChild | : table of half size of the current N Tree |
sizeLimit | : limit of the cell size |
Definition at line 54 of file PNTreeLightNode_impl.h.
Referenced by PNTreeLightNode< T, U, N >::addElement(), and PNTreeLightNode< T, U, N >::split().
T getDistanceFromData | ( | const T | posA[N], |
const T | posB[N] ) |
Get the distance between two points.
posA | : first position |
posB | : second position |
Definition at line 217 of file PNTreeLightNode_impl.h.
Referenced by PNTreeLightNode< T, U, N >::getCloserData().
unsigned int getNeighbourCellIndex | ( | unsigned char | indexChild[N], |
unsigned char | currentChildIndex[N] ) |
Get the index of the check neighbours tab.
indexChild | : index of the reference cell |
currentChildIndex | : index of the current node to be checked |
Definition at line 232 of file PNTreeLightNode_impl.h.
Referenced by PNTreeLightNode< T, U, N >::getCloserData().
void makeHalfSize | ( | T | childSize[N], |
const T | parentSize[N] ) |
Get the size of the child.
[out] | childSize | : child size |
parentSize | : parent size |
Definition at line 42 of file PNTreeLightNode_impl.h.
Referenced by PNTreeLightNode< T, U, N >::addElement(), PNTreeLightNode< T, U, N >::getCloserData(), PNTreeLightNode< T, U, N >::getLastData(), PNTreeLightNode< T, U, N >::saveGnuplotData(), and PNTreeLightNode< T, U, N >::split().