37 namespace energybased {
This class is developed for exceptions that might occure, when nodes are placed at the same position ...
DPoint choose_distinct_random_point_in_disque(DPoint old_point, double xmin, double xmax, double ymin, double ymax)
Returns a distinct random point within the smallest disque D with center old_point that is contained ...
bool nearly_equal(double a, double b)
Returns true if a is "nearly" equal to b (needed, when machine accuracy is insufficient in functions ...
DPoint choose_distinct_random_point_in_radius_epsilon(DPoint old_pos)
A random point (distinct from old_pos) on the disque around old_pos with radius epsilon = 0...
The namespace for all OGDF objects.
Declaration of classes DPoint, DPolyline, DLine, DRect, DIntersectableRect, DScaler.
bool f_near_machine_precision(double distance, DPoint &force)
If distance has a value near the machine precision the (attractive)force calculation is not possible ...
bool f_rep_near_machine_precision(double distance, DPoint &force)
If distance has a value near the machine precision the repulsive force calculation is not possible (c...