#include <spatial.h>
◆ MBR() [1/3]
◆ MBR() [2/3]
MBR::MBR |
( |
const double |
xmin_arg, |
|
|
const double |
ymin_arg, |
|
|
const double |
xmax_arg, |
|
|
const double |
ymax_arg |
|
) |
| |
|
inline |
◆ MBR() [3/3]
◆ add_mbr()
void MBR::add_mbr |
( |
const MBR * |
mbr | ) |
|
|
inline |
◆ add_xy() [1/3]
void MBR::add_xy |
( |
const char * |
px, |
|
|
const char * |
py |
|
) |
| |
|
inline |
◆ add_xy() [2/3]
void MBR::add_xy |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
◆ add_xy() [3/3]
◆ contains()
int MBR::contains |
( |
const MBR * |
mbr | ) |
const |
|
inline |
◆ covered_by()
int MBR::covered_by |
( |
const MBR * |
mbr | ) |
const |
|
inline |
◆ covers()
int MBR::covers |
( |
const MBR * |
mbr | ) |
const |
|
inline |
◆ dimension()
int MBR::dimension |
( |
| ) |
const |
|
inline |
The dimension maps to an integer as:
- Polygon -> 2
- Horizontal or vertical line -> 1
- Point -> 0
- Invalid MBR -> -1
◆ disjoint()
int MBR::disjoint |
( |
const MBR * |
mbr | ) |
const |
|
inline |
◆ equals()
int MBR::equals |
( |
const MBR * |
mbr | ) |
const |
|
inline |
◆ inner_point()
bool MBR::inner_point |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inline |
◆ intersects()
int MBR::intersects |
( |
const MBR * |
mbr | ) |
const |
|
inline |
◆ overlaps()
int MBR::overlaps |
( |
const MBR * |
mbr | ) |
const |
|
inline |
◆ within()
int MBR::within |
( |
const MBR * |
mbr | ) |
const |
◆ xmax
◆ xmin
◆ ymax
◆ ymin
The documentation for this struct was generated from the following files: