![]() |
Fréchet View
1.6.0
A Tool for Exploring Fréchet Distance Algorithms
|
a very simple Rectangle structure, with integer boundaries.
Left and top boundaries are inclusive. Right and bottom boundaries are exclusive.
(Note: we do not use QRect because it is often unclear whether boundaries are inclusive or exclusive).
#include <types.h>
Public Member Functions | |
Rect () | |
empty constructor; creates an undefined rectangle More... | |
Rect (int a, int b, int c, int d) | |
constructor with bounds More... | |
bool | operator== (const Rect &that) const |
equality comparator More... | |
int | width () const |
int | height () const |
Public Attributes | |
int | i0 |
left bound, inclusive More... | |
int | j0 |
top bound, inclusive More... | |
int | i1 |
right bound, exclusive More... | |
int | j1 |
top bound, exclusive More... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |