49 m_maxAllowedDistance = mad;
50 m_toleranceDistance = td;
96 os <<
"(" << rect.
m_x <<
"," << rect.
m_y <<
":" <<
101 double m_x,
m_y, m_width, m_height;
112 m_distance = distance;
The parameterized class Array implements dynamic arrays of type E.
Finds in a given set of rectangles for each point in a given set of points the nearest rectangle...
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Represents a rectangle (given by its index) and a distance value.
double m_toleranceDistance
friend ostream & operator<<(ostream &os, const PairRectDist &p)
NearestRectangleFinder(double mad=20, double td=5)
Declaration and implementation of Array class and Array algorithms.
friend ostream & operator<<(ostream &os, const RectRegion &rect)
Doubly linked lists (maintaining the length of the list).
PairRectDist(int index, double distance)
Represents a rectangle given by center point, width and height.
void maxAllowedDistance(double mad)
double toleranceDistance() const
double m_maxAllowedDistance
static bool find(V &ts, const T &t)
void toleranceDistance(double td)
The namespace for all OGDF objects.
Declaration of classes DPoint, DPolyline, DLine, DRect, DIntersectableRect, DScaler.
double maxAllowedDistance() const