#include <ogdf/energybased/davidson_harel/UniformGrid.h>
|
void | checkBresenham (DPoint, DPoint) const |
|
void | checkBresenham (IPoint, IPoint) const |
|
void | computeCrossings (const List< edge > &, const node, const DPoint &) |
|
void | computeGridGeometry (const node, const DPoint &, DIntersectableRect &) const |
|
IPoint | computeGridPoint (const DPoint &dp) const |
|
DPoint | computeRealPoint (const IPoint &ip) const |
|
bool | crossesCell (DPoint, DPoint, const IPoint &) const |
|
bool | crossesCell (IPoint, IPoint, const IPoint &) const |
|
template<typename TPoint , typename TNum > |
bool | crossesCell (TPoint &A, TPoint &B, TNum xlow, TNum xhigh, TNum ylow, TNum yhigh, const IPoint &CellAdr) const |
|
bool | crossingTest (const edge, const edge, const node, const DPoint &, const IPoint &) |
|
void | DoubleModifiedBresenham (const DPoint &, const DPoint &, SList< IPoint > &) const |
|
bool | intervalIntersect (double, double, double, double) const |
|
bool | isInt (double d) const |
|
void | markCells (SList< IPoint > &, Array2D< bool > &) const |
|
void | ModifiedBresenham (const IPoint &, const IPoint &, SList< IPoint > &) const |
|
UniformGrid & | operator= (const UniformGrid &ug) |
|
Definition at line 58 of file UniformGrid.h.
◆ UniformGrid() [1/3]
◆ UniformGrid() [2/3]
◆ UniformGrid() [3/3]
ogdf::davidson_harel::UniformGrid::UniformGrid |
( |
const UniformGrid & |
, |
|
|
const |
node, |
|
|
const DPoint & |
|
|
) |
| |
◆ checkBresenham() [1/2]
void ogdf::davidson_harel::UniformGrid::checkBresenham |
( |
DPoint |
, |
|
|
DPoint |
|
|
) |
| const |
|
private |
◆ checkBresenham() [2/2]
void ogdf::davidson_harel::UniformGrid::checkBresenham |
( |
IPoint |
, |
|
|
IPoint |
|
|
) |
| const |
|
private |
◆ computeCrossings()
void ogdf::davidson_harel::UniformGrid::computeCrossings |
( |
const List< edge > & |
, |
|
|
const |
node, |
|
|
const DPoint & |
|
|
) |
| |
|
private |
◆ computeGridGeometry()
◆ computeGridPoint()
IPoint ogdf::davidson_harel::UniformGrid::computeGridPoint |
( |
const DPoint & |
dp | ) |
const |
|
inlineprivate |
◆ computeRealPoint()
DPoint ogdf::davidson_harel::UniformGrid::computeRealPoint |
( |
const IPoint & |
ip | ) |
const |
|
inlineprivate |
◆ crossesCell() [1/3]
bool ogdf::davidson_harel::UniformGrid::crossesCell |
( |
DPoint |
, |
|
|
DPoint |
, |
|
|
const IPoint & |
|
|
) |
| const |
|
private |
◆ crossesCell() [2/3]
bool ogdf::davidson_harel::UniformGrid::crossesCell |
( |
IPoint |
, |
|
|
IPoint |
, |
|
|
const IPoint & |
|
|
) |
| const |
|
private |
◆ crossesCell() [3/3]
template<typename TPoint , typename TNum >
bool ogdf::davidson_harel::UniformGrid::crossesCell |
( |
TPoint & |
A, |
|
|
TPoint & |
B, |
|
|
TNum |
xlow, |
|
|
TNum |
xhigh, |
|
|
TNum |
ylow, |
|
|
TNum |
yhigh, |
|
|
const IPoint & |
CellAdr |
|
) |
| const |
|
inlineprivate |
◆ crossingTest()
bool ogdf::davidson_harel::UniformGrid::crossingTest |
( |
const |
edge, |
|
|
const |
edge, |
|
|
const |
node, |
|
|
const DPoint & |
, |
|
|
const IPoint & |
|
|
) |
| |
|
private |
◆ DoubleModifiedBresenham()
void ogdf::davidson_harel::UniformGrid::DoubleModifiedBresenham |
( |
const DPoint & |
, |
|
|
const DPoint & |
, |
|
|
SList< IPoint > & |
|
|
) |
| const |
|
private |
◆ intervalIntersect()
bool ogdf::davidson_harel::UniformGrid::intervalIntersect |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| const |
|
private |
◆ isInt()
bool ogdf::davidson_harel::UniformGrid::isInt |
( |
double |
d | ) |
const |
|
inlineprivate |
◆ markCells()
void ogdf::davidson_harel::UniformGrid::markCells |
( |
SList< IPoint > & |
, |
|
|
Array2D< bool > & |
|
|
) |
| const |
|
private |
◆ ModifiedBresenham()
void ogdf::davidson_harel::UniformGrid::ModifiedBresenham |
( |
const IPoint & |
, |
|
|
const IPoint & |
, |
|
|
SList< IPoint > & |
|
|
) |
| const |
|
private |
◆ newGridNecessary()
bool ogdf::davidson_harel::UniformGrid::newGridNecessary |
( |
const node |
v, |
|
|
const DPoint & |
p |
|
) |
| |
|
inline |
◆ numberOfCrossings()
int ogdf::davidson_harel::UniformGrid::numberOfCrossings |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const UniformGrid & |
|
|
) |
| |
|
friend |
◆ m_cells
◆ m_CellSize
double ogdf::davidson_harel::UniformGrid::m_CellSize |
|
private |
◆ m_crossings
◆ m_crossingTests
int ogdf::davidson_harel::UniformGrid::m_crossingTests |
|
private |
◆ m_crossNum
int ogdf::davidson_harel::UniformGrid::m_crossNum |
|
private |
◆ m_edgeMultiplier
const static double ogdf::davidson_harel::UniformGrid::m_edgeMultiplier |
|
staticprivate |
◆ m_epsilon
const static double ogdf::davidson_harel::UniformGrid::m_epsilon |
|
staticprivate |
◆ m_graph
const Graph& ogdf::davidson_harel::UniformGrid::m_graph |
|
private |
◆ m_grid
◆ m_layout
◆ m_maxEdgesPerCell
int ogdf::davidson_harel::UniformGrid::m_maxEdgesPerCell |
|
private |
◆ m_time
double ogdf::davidson_harel::UniformGrid::m_time |
|
private |
The documentation for this class was generated from the following file: