Main Page Compound List File List Compound Members File Members Related Pages
XyRange Class Reference
XyRange is a 2-dimensional axis parallel range.
More...
#include <Rtree.h>
List of all members.
Detailed Description
XyRange is a 2-dimensional axis parallel range.
Also known as minimum bounding box (mbb) or minimum bounding rectangle (mbr), meaning minimum cartesian interval covering an object given in Euclidean space. Here, the term (xy-)range is preferred, because it can be used with search ranges (i.e. rectangles specifying search requests). The second reason not to use the mbb or mbr notation might be that the minimality is not necessary.
A range is expressed as a pair of extremal corners. Though double
precision is used for coordinates, the domain is supposed not to exceed the long
values domain.
A range is interpreted as an empty one, if ll.x > ur.x.
-
Parameters:
-
ll |
is lower left corner. |
ur |
is upper right corner. |
Constructor & Destructor Documentation
XyRange |
( |
int * |
coords |
) |
[inline] |
|
XyRange |
( |
XyRangeI & |
r |
) |
[inline] |
|
Member Function Documentation
void fromCoords |
( |
int * |
coords |
) |
[inline] |
|
void toCoords |
( |
int * |
coords |
) |
[inline] |
|
void fromRngI |
( |
XyRangeI & |
r |
) |
|
|
XyRangeD& rngD |
( |
|
) |
[inline] |
|
setUnlimited |
( |
|
) |
[inline] |
|
|
Sets extremal values in coordinates, so the range is interpreted as unlimited.
|
isEmpty |
( |
|
) |
const [inline] |
|
|
-
Returns:
-
TRUE iff the range is interpreted as empty. |
isUnlimited |
( |
|
) |
const [inline] |
|
|
-
Returns:
-
TRUE iff the range is interpreted as being unlimited in all directions. |
|
-
Returns:
-
temporary character string as a textual form of xy-range information.
|
Member Data Documentation
Generated on Mon Mar 24 22:59:19 2003 for Mg R-tree Library by
1.2.16