#include <stdlib.h>
#include "gis.h"
#include "Vect.h"
Include dependency graph for box.c:
Go to the source code of this file.
Functions | |
int | Vect_point_in_box (double x, double y, double z, BOUND_BOX *Box) |
tests for point in box | |
int | Vect_box_overlap (BOUND_BOX *A, BOUND_BOX *B) |
tests for overlap of two boxes | |
int | Vect_box_copy (BOUND_BOX *A, BOUND_BOX *B) |
copy box A to box B | |
int | Vect_box_extend (BOUND_BOX *A, BOUND_BOX *B) |
extend box A by box B | |
int | Vect_get_line_box (struct Map_info *Map, int line, BOUND_BOX *Box) |
get line number in boundary box ?? | |
int | Vect_get_area_box (struct Map_info *Map, int area, BOUND_BOX *Box) |
get area number in boundary box ? | |
int | Vect_get_isle_box (struct Map_info *Map, int isle, BOUND_BOX *Box) |
get isle number in boundary box ? | |
int | Vect_get_map_box (struct Map_info *Map, BOUND_BOX *Box) |
falls map into boundary box ??? | |
int | Vect_region_box (struct Cell_head *Window, BOUND_BOX *Box) |
copy region Window to Box |
int Vect_box_copy | ( | BOUND_BOX * | A, | |
BOUND_BOX * | B | |||
) |
copy box A to box B
boundary | box1, boundary box2 |
Definition at line 68 of file box.c.
Referenced by V2_delete_line_nat(), V2_write_line_nat(), and Vect_topo_dump().
int Vect_box_extend | ( | BOUND_BOX * | A, | |
BOUND_BOX * | B | |||
) |
extend box A by box B
boundary | box1, boundary box2 |
Definition at line 88 of file box.c.
Referenced by V2_delete_line_nat(), and V2_write_line_nat().
int Vect_box_overlap | ( | BOUND_BOX * | A, | |
BOUND_BOX * | B | |||
) |
tests for overlap of two boxes
boundary | box A, boundary box B |
Definition at line 48 of file box.c.
Referenced by V1_read_next_line_nat(), V1_read_next_line_ogr(), and V2_read_next_line_nat().
int Vect_get_area_box | ( | struct Map_info * | Map, | |
int | area, | |||
BOUND_BOX * | Box | |||
) |
get area number in boundary box ?
Map_info | structure, area number, boundary box |
Definition at line 143 of file box.c.
Referenced by V2_delete_line_nat(), V2_write_line_nat(), and Vect_isle_find_area().
int Vect_get_isle_box | ( | struct Map_info * | Map, | |
int | isle, | |||
BOUND_BOX * | Box | |||
) |
get isle number in boundary box ?
Map_info | structure, isle number, boundary box |
Definition at line 178 of file box.c.
Referenced by V2_delete_line_nat(), V2_write_line_nat(), and Vect_isle_find_area().
int Vect_get_line_box | ( | struct Map_info * | Map, | |
int | line, | |||
BOUND_BOX * | Box | |||
) |
get line number in boundary box ??
Map_info | structure, line number, boundary box |
Definition at line 108 of file box.c.
Referenced by V2_read_next_line_nat(), and Vect_break_lines().
int Vect_get_map_box | ( | struct Map_info * | Map, | |
BOUND_BOX * | Box | |||
) |
int Vect_point_in_box | ( | double | x, | |
double | y, | |||
double | z, | |||
BOUND_BOX * | Box | |||
) |
int Vect_region_box | ( | struct Cell_head * | Window, | |
BOUND_BOX * | Box | |||
) |