![]() |
Fréchet View
1.6.0
A Tool for Exploring Fréchet Distance Algorithms
|
a pair of horizonal / vertical intervals.
Two intervals in separate domains. IntervalPair is heavily used within the k-Fréchet algorithms.
Definition at line 456 of file interval.h.
#include <interval.h>
Public Member Functions | |
IntervalPair () | |
empty constructor; creates a pair of invalid intervals More... | |
IntervalPair (const Interval &ah, const Interval &av) | |
constructor with intervals More... | |
QRectF | boundingRect () const |
calculate the bounding rectangle, i.e. a rectangle that is defined by the horizontal and vertical intervals More... | |
bool | operator== (const IntervalPair &that) |
equality comparator More... | |
bool | operator!= (const IntervalPair &that) |
non-equality comparator More... | |
IntervalPair & | operator+= (const IntervalPair &that) |
union operator More... | |
IntervalPair & | clear () |
clear both intervals (assigning NAN as boundary values) More... | |
IntervalPair | translated (double i, double j) const |
translate both intervals More... | |
Public Attributes | |
Interval | H |
horizontal interval More... | |
Interval | V |
vertical interval More... | |
|
inline |
empty constructor; creates a pair of invalid intervals
Definition at line 465 of file interval.h.
constructor with intervals
ah | a horizontal interval |
av | a vertical interval |
Definition at line 471 of file interval.h.
|
inline |
calculate the bounding rectangle, i.e. a rectangle that is defined by the horizontal and vertical intervals
Definition at line 480 of file interval.h.
|
inline |
clear both intervals (assigning NAN as boundary values)
Definition at line 518 of file interval.h.
|
inline |
non-equality comparator
that | another pair of intervals |
Definition at line 499 of file interval.h.
|
inline |
union operator
that | another pair of intervals |
Definition at line 507 of file interval.h.
|
inline |
equality comparator
that | another pair of intervals |
Definition at line 491 of file interval.h.
|
inline |
translate both intervals
i | horizontal offset |
j | vertical offset |
Definition at line 530 of file interval.h.
Interval frechet::data::IntervalPair::H |
horizontal interval
Definition at line 459 of file interval.h.
Interval frechet::data::IntervalPair::V |
vertical interval
Definition at line 460 of file interval.h.