45namespace davidson_harel {
66 double size = max(
ir.width(),
ir.height());
90 return IPoint(
int(x),
int(y));
106 if (
d < std::numeric_limits<int>::min() ||
d > std::numeric_limits<int>::max()) {
127 template<
typename TPo
int,
typename TNum>
131 if (
A.m_x ==
B.m_x) {
137 double m = (
B.m_y -
A.m_y) / (
B.m_x -
A.m_x);
138 double c =
A.m_y -
A.m_x * m;
154 friend std::ostream&
operator<<(std::ostream&,
const UniformGrid&);
Declaration and implementation of class Array2D which implements dynamic two dimensional arrays.
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Declaration of class HashArray2D.
Declaration of singly linked lists and iterators.
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
The parameterized class Array2D implements dynamic two-dimensional arrays.
Rectangles with real coordinates.
Dynamic arrays indexed with edges.
Class for the representation of edges.
Stores additional attributes of a graph (like layout information).
Data type for general directed graphs (adjacency list representation).
Indexed 2-dimensional arrays using hashing for element access.
Doubly linked lists (maintaining the length of the list).
Class for the representation of nodes.
Singly linked lists (maintaining the length of the list).
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.
GenericPoint< double > DPoint
Representing two-dimensional point with real coordinates.
std::ostream & operator<<(std::ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.
GenericPoint< int > IPoint
Representing a two-dimensional point with integer coordinates.