Adaptagrams
|
Represents a neighbouring node to a central node. More...
#include <quadaction.h>
Public Member Functions | |
Nbr (id_type id, double dx, double dy) | |
Standard constructor. More... | |
unsigned | octalCode (void) const |
double | deflection (void) const |
A measure of how far into its quadrant this nbr lies, in the clockwise direction. More... | |
Represents a neighbouring node to a central node.
Nbr::Nbr | ( | id_type | id, |
double | dx, | ||
double | dy | ||
) |
double Nbr::deflection | ( | void | ) | const |
A measure of how far into its quadrant this nbr lies, in the clockwise direction.
References octalCode().
unsigned Nbr::octalCode | ( | void | ) | const |
Referenced by deflection().